Category Archives: MomentJS

PHPHOST BLOG

Web Hosting Related Articles You May Need

Using jQuery and Moment.js in ASP.NET MVC to do Custom Unobtrusive Date Comparison and Validation

In fifth issue of DNC Magazine Sumit had demonstrated how to make a ‘dynamic max length’ validator that could unobtrusively validate max-length when the target length was set at run time. We’ll use the same techniques to build an Unobtrusive Date Comparison Validator that will enforce the rule that given two dates, one date should be greater than or lesser than or equal to another date in the Continue reading

Posted in ASP.NET MVC, jQuery, MomentJS, Syndicated | Comments Off on Using jQuery and Moment.js in ASP.NET MVC to do Custom Unobtrusive Date Comparison and Validation