Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Go Back   Code Forums > Application and Web Development > HTML, XML, Javascript, AJAX
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
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
Old 06-20-2005, 05:00 AM   #2 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 635
DJMaze is on a distinguished road
Why do you need opener.name on the first place?

If "opener.NewForm has no properties" then it can't find it.
This could be the use of iframes.

Are you using iframes or normal frames?
__________________
DJMaze is offline   Reply With Quote
Old 06-20-2005, 08:24 PM   #3 (permalink)
sujith(ARS)
Registered User
 
Join Date: May 2005
Posts: 9
sujith(ARS) is on a distinguished road
i'm using normal frames
__________________
sujith(ARS) is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue implementing algorithm of Lempel Ziv napsak Standard C, C++ 12 04-29-2005 06:58 AM
Firefox gets security upgrade 1.0.1 sde Code Newbie News 0 03-07-2005 06:46 AM
Trying to confirm a Firefox value journeyman Platform/API C++ 3 01-04-2005 12:30 PM
Firefox smashes funding target sde Code Newbie News 0 10-22-2004 05:45 PM
Firefox browser to hit 1.0 milestone sde Code Newbie News 0 09-14-2004 10:11 AM


All times are GMT -8. The time now is 09:04 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2006, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
Open Circle