wilcor14
asked on
Close window if Javascript Function doesn't exist.
I am opening up a pop up from a page and then from the popup I am calling a javascript function from the opening page. Is there a way to check to see if the function exist and if not, to close the popup without displaying any errors?
I am calling the the funtion from my code behind in the popup window as such:
RegisterStartupScript("Gro upManageme nt", "<script language='javascript'>wind ow.opener. GroupInfoD DL(); window.focus()</script>")
Thanks.
I am calling the the funtion from my code behind in the popup window as such:
RegisterStartupScript("Gro
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes. I don't think there will be a problem with it, because it doesn't use anything browser specific that I know of.
ASKER