Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 2nd, 2006, 01:30 PM
Authorized User
 
Join Date: Nov 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default window.opener for mozilla

I wrote something like
window.opener.document.forms(0).mto.value=stremlad dr;
in my popup window, that's works fine in IE browser but Mozilla.

Anything wrong and how to fix it?

Thank you in advance,
Jun

 
Old February 14th, 2006, 05:03 PM
nzakas's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

The issue could be that you're using parentheses instead of brackets. Try this:
Code:
window.opener.document.forms[0].mto.value=stremladdr;
Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/
 
Old September 1st, 2009, 08:56 AM
Registered User
 
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks a TON !!!

It finally resolved an issue which I was trying to resolve for a whole day..!!
 
Old September 1st, 2009, 08:57 AM
Registered User
 
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks a TON !!!

It finally resolved an issue which I was trying to resolve for a whole day..!!
Lesson learned





Similar Threads
Thread Thread Starter Forum Replies Last Post
window.opener.document.parentWindow in Mozilla Mohammedasslam Javascript 2 June 28th, 2007 01:20 AM
Problem accessing the window.opener.opener maryuob Javascript 3 January 18th, 2006 05:25 AM
window.opener problems crmpicco Javascript How-To 2 September 30th, 2005 03:46 AM
window.opener help fs22 Javascript How-To 6 May 9th, 2004 10:50 PM
window.opener.refresh matt.fields Javascript How-To 1 November 3rd, 2003 05:13 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.