
Sometimes you may need to detect touchscreen device in JavaScript. Here are the steps to do so.
Sometimes you may need to get data-id attribute of HTML DOM elements. Here is how to get data-id attribute in jQuery/JavaScript.
Sometimes you may need to check if images are loaded on your web pages. Here is how to check if image is loaded in jQuery/JavaScript.
Sometimes you may need to use JavaScript variables in jQuery selectors. Here are the steps to do it.
Sometimes you may need to generate random color in JavaScript. Here is how to create a random color generator in JavaScript.
Sometimes you may need to change href attribute of link using jQuery. Here are the different ways to do this.
Sometimes you may need to get URL parameters using jQuery or JavaScript. Here are the steps to do it.
Sometimes you may need to escape html strings in your website. Here is how to escape HTML strings with jQuery.
Sometimes you may need to get random number between two numbers in JavaScript. Here is how to do it.