
Sometimes you may need to remove all child elements of DOM node in JS. Here are the steps to do it.
Often you may need to remove leading & trailing whitespace from strings in MySQL. Here are the steps to do it.
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.
Sometimes you may need to remove duplicates from array of objects in JavaScript. Here are the steps to do so.
Sometimes you may need to generate random string characters in JavaScript. Here are the steps to do it.