validation - jQuery DatePicker: display an error when input not in proper format -


i've got datepicker automatically inserts date in mon-dd-yyyy format and, many others, breaks if improper format (e.g. monddyyyy, yyyy-dd-mm, etc.) used enter date when not in read-only mode.

i want take datepicker , have check see if date fits mon-dd-yyyy format , spit error held in hidden div (there's 1 date being blank) opposed going stack trace page.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -