
Sometimes you may need to clear canvas for redrawing in JavaScript. Here are the steps to do so.
Often you may need to detect when users your website or application. Here is how to detect when user leaves page.
Sometimes you may need to get URL parameters using jQuery or JavaScript. Here are the steps to do it.
Sometimes you may need to attach event to dynamic elements in JavaScript. Here are the steps to do so.
Sometimes you may need to display confirmation before closing browser tab/window. Here is how to close current tab in browser window.
Sometimes you may need to remove empty element from JS array. Here are the different ways to do this.