Javascript works in IE, but not in Firefox

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');
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,731
Latest member
MarcyGipso

Latest Threads

Top