Pre-filled date value causing undefined month
In my input field if value is date instead of mm/yy/yyyy like this value="08/30/2007" I get "undefined 2007" in calendar and empty calendar box. Once I scroll through months things work but on initial load it doesn't work with predefined initial value. Does anyone know of a fix that will let me input date that is initially shown in the field instead of having it showing mm/dd/yy?
You can test this on Swazz calendar page. Just enter date manually, click anywhere on the page and click field again to open calendar.
Thanks,
Oz
Last edited by oziris : 08-29-2007 at 05:28 PM.
|