Page 1 of 1

datepicker error with browsers

Posted: Wed Oct 14, 2020 12:16 am
by elecho
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!