The moose likes HTML, CSS and JavaScript and the fly likes Error: window.opener.document.forms Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Error: window.opener.document.forms" Watch "Error: window.opener.document.forms" New topic
Author

Error: window.opener.document.forms

Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1291

hi ranchers,

using this script to popup window it's work fine in Internet Explorer
but in FireFox it give the error

Error: window.opener.document.forms is not a function Source File



can any one tell me why its not working in Mozilla FireFox
[ August 05, 2006: Message edited by: saif uddin ]

Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
() is a function/method call, [] is an array index. IE is forgiving...others are not. You are referencing the forms object array so.....

Eric
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1291

Thanks eric,

now it's working fine on Mozilla Firefox

Thanks Again for the fast reply...
 
 
subject: Error: window.opener.document.forms
 
Threads others viewed
why the window doesn't close and bring the item to the main form?
how to restrict form submit
open MSWord document through Javascript
Post date is not shown
focusControl has no properties
IntelliJ Java IDE