Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Javascript window.opener not working in Netscape
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 30 October 2001 :  08:03:02  Show Profile  Visit Kat's Homepage
Hi,

I have the following that works fine in IE but will not retrieve the value in Netscape 4. Can someone help me figure out why? Thanks. The fields do exist but I was wondering if Netscape can't see them for some reason. I know it recognises window.opener because I tested that. It just won't recognise anything on that page. It works fine in IE. The JobsInput form has not been posted at this point because this is a preview function a bit like the one here.

script:

document.form1.CompanyProfile.value = window.opener.JobsInput.CompanyProfile.value;


on same page as script:

<form name="form1" method="post" action="">
<input type="text" name="CompanyProfile" value="">
</form>






KatsKorner

Aznknight
Senior Member

USA
1373 Posts

Posted - 30 October 2001 :  13:24:42  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
kat,

try this:

document.form1.CompanyProfile.value = window.opener.document.JobsInput.CompanyProfile.value;

- Alan
www.iamviet.com
Snitz Resource
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 31 October 2001 :  04:32:14  Show Profile  Visit Kat's Homepage
Thanks Alan.

I will try that!

KatsKorner
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 31 October 2001 :  04:43:54  Show Profile  Visit Kat's Homepage
Right. Now that worked if I do
document.write(window.opener.document.JobsInput.CompanyProfile.value);


Thanks Alan!

KatsKorner


Edited by - kat on 31 October 2001 06:30:25
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 31 October 2001 :  13:58:33  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
solved two javascript problems yesterday. woo hoo. I'm juiced . no probs Kat.

- Alan
www.iamviet.com
Snitz Resource
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 01 November 2001 :  04:16:21  Show Profile  Visit Kat's Homepage
quote:

solved two javascript problems yesterday. woo hoo. I'm juiced . no probs Kat.

- Alan
www.iamviet.com
Snitz Resource



Yeah, I am chuffed too! You helped me fix those and I also fixed a few more myself. I now have a funky preview facility working for a new project I am doing.. woohoo .

KatsKorner
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07