Click here to Skip to main content
15,890,845 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,


I am using iframe within the popup window.The Iframe contains the button for closing the window it is working fine in IE but not working in Firefox.

What is the solution for closing window from button inside IFrame.
Posted
Comments
coded007 29-Dec-11 10:58am    
It's Java Script error in IFrame. Please check it once!!!

_________________________________________________________________________________

ALL THE BEST (ATB)
Andrew Piotrowski 29-Dec-11 11:53am    
Java has no intelitrace(C#) or any validation. Can you give us the code of the script ?
[no name] 29-Dec-11 13:25pm    
What does intellitrace (I assume you meant intellisence) and validation have to do with this?

You meant JavaScript, not Java correct?
Varun Sareen 29-Dec-11 13:05pm    
Can you please paste some code so that we can help you out :)

hi,

This is may be an issue with the javascript, which might be ignored by IE. So when you run it in FireFox get the error from Tools>Error Console(Press Ctrl+Shift+J).
See the error and google it.. You'll definitely find the answer.

Regards
Santosh Pabba
 
Share this answer
 
please try using window.parent to close in place of window. because iframe is also same as window.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900