Click here to Skip to main content
12,621,744 members (36,992 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# jQuery IE9
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 29-May-12 21:25pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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[^]
  Permalink  

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


Advertise | Privacy | Mobile
Web02 | 2.8.161128.1 | Last Updated 30 May 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100