T
tommcd24
I have the following JavaScript code which works in IE, but doesn't
postback in Firefox. I'm not overly fluent in JavaScript being mainly
a Windows .NET programmer, so I'm hoping someone out there can help me
translate this into some "universal" JavaScript that will work
regardless of browser.
I'm calling this JavaScript code from an ASP:Button's OnClientClick()
event. Basically when a user clicks the button, a new window is opened
that displays the current month as a small calendar control. Once the
user clicks a date in the calendar window, that date should be
returned to an associated Textbox control.
javascript:calendar_window=window.open('CalendarSelector.aspx?
formname=aspnetForm.ctl00$Content
$txtAppDate','calendar_window','width=154,height=210');
postback in Firefox. I'm not overly fluent in JavaScript being mainly
a Windows .NET programmer, so I'm hoping someone out there can help me
translate this into some "universal" JavaScript that will work
regardless of browser.
I'm calling this JavaScript code from an ASP:Button's OnClientClick()
event. Basically when a user clicks the button, a new window is opened
that displays the current month as a small calendar control. Once the
user clicks a date in the calendar window, that date should be
returned to an associated Textbox control.
javascript:calendar_window=window.open('CalendarSelector.aspx?
formname=aspnetForm.ctl00$Content
$txtAppDate','calendar_window','width=154,height=210');