Subject: window.opener for mozilla
Posted By: jun99 Post Date: 2/2/2006 12:30:53 PM
I wrote something like
window.opener.document.forms(0).mto.value=stremladdr;
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

Reply By: nzakas Reply Date: 2/14/2006 4:03:50 PM
The issue could be that you're using parentheses instead of brackets. Try this:
window.opener.document.forms[0].mto.value=stremladdr;


Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/

Go to topic 39962

Return to index page 370
Return to index page 369
Return to index page 368
Return to index page 367
Return to index page 366
Return to index page 365
Return to index page 364
Return to index page 363
Return to index page 362
Return to index page 361