function openwin(id){
window.opener.location.href // will give the url of the page where this popup orginated
window.opener.parent.location.href // will give the url of the parent page(if its poup from iframe) where this popup orginated
}
i hope it will helps!
Wednesday, March 5, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment