Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
In IE9 my jquery is not working properly. Actually the problem is when i enter the incomplete date in the textbox it should give an error popup showing invalid date ,but in IE9 the jquery takes the todays date by default and focuses to the next textbox without giving an error popup.

Please help me to resolve this question.. Thanks in advanced.
Posted

1 solution

One basic solution to prevent from this is using Regex to handle the validation before parsing it.

You may need to apply this kind of Regex, see in the link for additional details:

http://www.regular-expressions.info/dates.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900