Jquery Date Rule Not Working In Firefox And Ie April 01, 2024 Post a Comment I have rendered the normal text with jquery date rule. The date rule working fine in chrome but not working in the Firefox and IE . please see my code block. Solution 1: The documentation you've linked to says this:This method should not be used, since it relies on the new Date constructor, which behaves very differently across browsers and locales. Use dateISO instead or one of the locale specific methods (in localizations/ and additional-methods.js).My emphasis.Solution 2: This issue is due to the date parsing behavior difference between the browsers. You can see the below. Chromenew Date("92/12/2015") - Invalid DateFireFoxBaca JugaHow To Validate Dynamic Content Using Jquery Validate PluginRegex Invalid Group Error While Using In JavascriptJavascript Phone Number Validationnew Date("92/12/2015") - Date {Sun Jun 07 1998 00:00:00 GMT+0530 (India Standard Time)}The date rule will only check for format based on inputted date value and hence the validation succeeded in FF.So as @SomekidwithHTML proposed you can use the dateIso which will check the date against ISO date standards or implement your our custom validation as per your need.http://jqueryvalidation.org/jQuery.validator.addMethod/ Share You may like these postsRemove Empty Item From Select Drop Down AngularjsNg-if, Ng-switch And Dynamic Ng-include Not WorkingShow Loading Image After Click Button And Page Load {item.item.name}?" href="https://lvuittonbag.blogspot.com/2024/03/react-natives-flatlist-prop-renderitem.html"> {item.item.name}?" class="related-thumb" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3b7KA6Xv3_y5U51ruOXdWcOYwsCKyopH9gxHau-o1vjwH-NqCBujwGnzkZr5_lJU9j0XK5hXDSpkiwJTPXXpHEbnfa5V5MBZgWluS0wsI-tQbIr4R_wV0WS6WWu246MndbOfdIEZQjfM/w192-h108-n-k-rw-no-nu/nomage+%25281%2529.png" width="192" height="108">React Native's Flatlist Prop Renderitem Requires Extra "item" (item) => {item.item.name}? Post a Comment for "Jquery Date Rule Not Working In Firefox And Ie"
Post a Comment for "Jquery Date Rule Not Working In Firefox And Ie"