datepicker error with browsers

A

Anonymous

Guest
Hi!

I have an order program that worked for a long time in old version of IE. It works fine with other browsers such as chrome and safari. However, it does not work for the date picker for these browsers. I have the following script:
</SELECT><BR>
<INPUT TYPE="TEXT" NAME="cut_date" VALUE="<? echo htmlspecialchars(stripslashes($cut_date), ENT_QUOTES, 'BIG5'); ?>" SIZE="10" onBlur="dp_dateFormat='yyyy-mm-dd';magicDate(this)" onFocus="if (this.className != 'error') this.select()" onClick="g_Calendar.show(event,'cut_date', 'yyyy-mm-dd')" READONLY>
</FORM>
<?

For IE, it works fine. For the other browsers, it return with Error: input field "cut_date" does not exist.

What is the problem? How can I solve this problem?

Many thanks!
 
Back
Top