Category Archives: Jquery

Calculate time between two dates

Using moment.js, We can calculate time between two dates in jquery. JavaScript Html Result Calculate time between two dates Start Date Time : Jul 29, 2017, 12:25:00 End Date Time : Aug 30, 2017, 22:30:00 Hours : 778.0833333333334 Minutes : 46685 Try it

Calculate days between two dates in jquery.

Using moment.js, We can calculate days between two dates in jquery. JavaScript Html Result Calculate days between two dates Start Date : Jul 29, 2017 End Date : Aug 30, 2017 Days : 32 Try it

Grouping data in autocomplete textbox using jquery in Asp.net MVC.

We can group data in autosuggest textbox in Asp.net MVC using jquery. Add a input box in your View. Add model in your view. Creation of model will be done┬álater. Add style sheets in your view. we are referring some css and js files from jquery cdn. Download this style sheet and add to your Continue Reading…

Jquery cross domain ajax request

Jquery cross domain ajax request can be made by setting crossDomain property to true. For cross domain request we need to set some configurations in both the application’s web.config file. For cross domain ajax request we need to set max Json Length in both the application’s web.config file. Put the below lines inside the Configuration Continue Reading…