View Single Post
Old 06-20-2005, 01:10 AM   #1 (permalink)
sujith(ARS)
Registered User
 
Join Date: May 2005
Posts: 9
sujith(ARS) is on a distinguished road
Exclamation FireFox Opener issue

Hi all,

I am using the following code to open a pop-up using Javascript.

popUpCal(this, opener.NewForm.txtincidate, 'dd/mm/yyyy')

Here the page which opens the popup window is one of the frames in the page( I am using 2 frames in my site) and the frame name is 'MainFrame'. So if i give alert(opener.name) it returns 'MainFrame'. NewForm is the name of the
html page (Form name) that is to be opened as the pop-up.

All this is fine with IE, but with FireFox i get the following error:

"opener.NewForm has no properties"
How to rectify this for FireFox ?

Thanks in advance
sujith(ARS) is offline   Reply With Quote