Allrighty then; I stand by my original analysis :)  Are you getting an error 
in FF?  I'm pretty sure they stick to the standard form object model, i.e. you 
need to reference the form through the document object and not directly from 
the window object.

 From: Ryan Olshan [EMAIL PROTECTED]

It looks like the below when rendered on the Calendar_DayRender event:

 window.opener.frmAddAnimal.txtDateFound.value
= '8/17/2005 12:00:00 AM';window.close();

Thanks,
Ryan

On 8/16/05, Peter Brunone wrote: 
> 
> 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

-- 
Thank you,
Ryan Olshan


[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=12hokj3as/M=362329.6886308.7839368.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1124222097/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</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