views:

35

answers:

1

Hi,

I am using the jQueryUI Date Picker on one of my forms and if you select the field that I have attached the datepicker to, then select a date, then click "Submit" it should submit the form - which it does in IE but not in Chrome.

In Chrome, it re-opens the date picker and I have no idea why. I've put the following on pastebin to show the bug;

http://pastebin.me/6889d234b1b426ae2d0ed23cc3d77e39

Does anyone have any idea why this is happening - it's been driving me mad!?

Cheers

+1  A: 

DOH. After much testing I found that it wasn't working in Chrome because the attribute "maxlength" was set to 8 and the date field DD/MM/YYYY was 10 characters so Chrome must have been throwing a wobbler at that.

I'm so annoyed with myself.

Webbo
good catch..! :)
IgalSt