Sometimes you may need to prevent page refresh on form submit. Here is how to disable page refresh on form submission in JavaScript.
JavaScript
How to Check if Object is Array in JavaScript
How to Remove Duplicates from Array of Objects JavaScript
Sometimes you may need to remove duplicates from array of objects in JavaScript. Here are the steps to do so.
How to Pass Parameter to SetTimeout Callback
Sometimes you may need to pass parameter to settimeout callback function. Here are the steps to do it.
How to Generate Random String Characters in JavaScript
Sometimes you may need to generate random string characters in JavaScript. Here are the steps to do it.
How to Preload Images with jQuery
How to Check if JavaScript Object Property is Undefined
JavaScript objects are popular data structures that allow you to store a lot of different types of data in a compact manner, as key-value pairs. While using JS objects, if you try to access a property that does not exist or is undefined then you will get an error and the J code execution on […]
How to Get Element’s Outer HTML using jQuery
How to Get Image Size & Width Using JavaScript
How to Use Multiple jQuery Versions on Same Page
Sometimes you may need to use multiple jQuery versions on single web page. Here are the steps to do it.