Click here to Skip to main content
Rate this: bad
good
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
0 Sergey Alexandrovich Kryukov 383
1 Sascha Lefévre 215
2 Maciej Los 185
3 Abhinav S 170
4 Richard Deeming 155
0 Sergey Alexandrovich Kryukov 7,141
1 OriginalGriff 6,410
2 Maciej Los 2,832
3 Abhinav S 2,732
4 Peter Leow 2,694


Advertise | Privacy | Mobile
Web01 | 2.8.150414.1 | Last Updated 30 May 2012
Copyright © CodeProject, 1999-2015
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