Tuesday, September 21, 2021
Calculate date difference using JQuery
›
Simple way to get days between 2 dates... var date1 = new Date("12/13/2021"); // MM/dd/yyyy var date2 = new Date("0...
Tuesday, August 17, 2021
Cheat Sheet - CSS, JQuery Selectors and Filters
›
* All elements. element Basic selector defined by the elements name. IE – the <p> tag. .class Elements specified by a sp...
Wednesday, May 5, 2021
Export HTML table to Excel file
›
<!-- https://github.com/linways/table-to-excel --> <script src="https://cdn.jsdelivr.net/gh/linways/table-to-excel@v1.0.4/dist...
Wednesday, February 3, 2021
Simple way to find Index value from JSON Array
›
Simple way to find Index value from JSON Array var data = [{"name":"placeHolder","section":"right"}...
Tuesday, February 2, 2021
Add days to a Date using JavaScript
›
Many times I have face this issue, and hope you too.. this is simple 3 line of code will help and fix this problem. let days =7 ; // we are ...
Thursday, January 28, 2021
JavaScript to get index from a JSON object with value
›
In modern browsers you can use findIndex: var students = [ {id: 100 }, {id: 200}, {id: 300}, {id: 400}, {id: 500} ]; var index ...
Tuesday, January 5, 2021
Displaying a number in Indian format using JavaScript
›
Indian money format function function INRCurrencyFormat(x){ x=x.toString(); var afterPoint = ''; if(x.indexOf('....
‹
›
Home
View web version