Hello all,
I'm working on a new client's system, and it seems that every date field on his system that's linked to a popup calendar is throwing an "Object Expected" Javascript error on exiiting the field. I've spent a few hours trying to find the problem without much luck...
I've tried to boil the code down to a short example... does anyone see anything glaringly wrong with the code below?
Thanks in advance for any ideas,
Chuck
HTML Code:<html style="background-color: buttonface; color: buttontext;"> <head> <meta http-equiv="content-type" content="text/xml; charset=utf-8" /> <title>Simple calendar setups [popup calendar]</title> <!-- calendar stylesheet --> <link rel="stylesheet" type="text/css" media="all" href="chuck_cal/jscalendar-1.0/calendar-win2k-cold-1.css" title="win2k-cold-1" /> <script type="text/javascript" src="javascript/jscalendar-1.0/calendar.js"></script> <script type="text/javascript" src="chuck_cal/jscalendar-1.0/lang/calendar-en.js"></script> <script type="text/javascript" src="chuck_cal/jscalendar-1.0/calendar-setup.js"></script> </head> <body> <form action="#" method="get"> <input type="text" name="date" id="f_date_a" onblur="parseDate(this, '{CALENDAR_DATEFORMAT}');" /> </form> <script type="text/javascript"> Calendar.setup({ inputField : "f_date_a", // id of the input field ifFormat : "%Y-%m-%d %H:%M", // format of the input field showsTime : true, timeFormat : "24" }); </script> </body>


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks