Sometimes, we want to flatten an array with objects into 1 object with JavaScript. In…
Coding
Sometimes, we want to generate an XML document in-memory with JavaScript. In this article, we’ll…
Sometimes, we want to get the second match of a selector with the document.querySelector method.…
Sometimes, we want to open all a links on a page in new windows with…
Sometimes, we want to check if any div contains a word with JavaScript. In this…
Sometimes, we want to convert RGB color code to hex with JavaScript. In this article,…
Sometimes, we want to toggle show or hide on click with jQuery. In this article,…
Sometimes, we want to get the value of the currently selected Selectize.js input item. In…
Sometimes, we want to wrap a function with JavaScript. In this article, we’ll look at…
Sometimes, we want to set the background image of a div via a function and…