It looks like the below when rendered on the Calendar_DayRender event: <script language="Javascript">window.opener.frmAddAnimal.txtDateFound.value = '8/17/2005 12:00:00 AM';window.close(); </script>
Thanks, Ryan On 8/16/05, Peter Brunone <[EMAIL PROTECTED]> 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 <http://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 LINKS > > > - Visit your group > "AspNetAnyQuestionIsOk<http://groups.yahoo.com/group/AspNetAnyQuestionIsOk>" > on the web. > - To unsubscribe from this group, send an email to: > [EMAIL PROTECTED]<[EMAIL PROTECTED]> > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > > ------------------------------ > -- Thank you, Ryan Olshan <asp:Web Programmer, Owner /> TeraNet Systems http://www.teranetsystems.com --------Internet E-Mail Confidentiality Statement-------- The content of and attachment(s) to this electronic transmission contains information from TeraNet Systems and is intended for the use of the person, firm or entity to which it is directed herein, and may contain information that is private, confidential, exempt from disclosure under applicable law, and/or proprietary to TeraNet Systems and is protected by law. If you are not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this message in error, please notify the sender, [EMAIL PROTECTED], immediately by reply e-mail and delete the original message and any attachment(s) without reading or saving in any matter. Thank you for your cooperation. [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=12hs96p09/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1124221079/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/
