Sometimes, we want to make a button redirect one page to another page with JavaScript.…
Coding
Sometimes, we want to remove and clear all localStorage data with JavaScript. In this article,…
Sometimes, we want to fix getMonth in JavaScript giving previous month. In this article, we’ll…
Sometimes, we want to check if element is in array with JavaScript. In this article,…
Sometimes, we want to escape a JSON string containing newline characters using JavaScript. In this…
Sometimes, we want to get notified about changes of the history via history.pushState with JavaScript.…
Sometimes, we want to extract filename from a file input control with JavaScript. In this…
Sometimes, we want to restart animation in CSS3 and JavaScript. In this article, we’ll look…
Sometimes, we want to get selected option text with JavaScript. In this article, we’ll look…
Sometimes, we want to check if a font (@font-face) has already been loaded with JavaScript.…