Hi Ryan,

   It's hard to tell without seeing the actual Javascript as it's rendered to 
the screen (hint:  always provide this for strings you build on the server), 
but it would appear that you're using a "window.form" syntax when it fact you 
need to specify "window.document.form" instead.

HTH,

Peter

 From: Ryan Olshan [EMAIL PROTECTED]

I am using the below JavaScript to get the date selected from a popup window 
that has an ASP.NET calendar control and insert that date 
into a text box in the parent window. This works perfectly in Internet 
Explorer, but fails in Firefox. Any suggestions?
string strJScript = "\n ";
strJScript += "\nwindow.opener." + Request.QueryString["formName"] + ".value 
= '" + calDate.SelectedDate.ToString() + "';\nwindow.close();\n";
strJScript += " \n";

-- 
Thank you,
Ryan Olshan

TeraNet Systems
http://www.teranetsystems.com


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hdsm79u/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1124220616/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to