Security concerns in JavaScript
JavaScript is a widely used programming language, but with its widespread use come security concerns. The following are some of the security issues to be aware of when working with...
JavaScript is a widely used programming language, but with its widespread use come security concerns. The following are some of the security issues to be aware of when working with...
Writing high-quality JavaScript code is essential for creating robust, maintainable, and efficient applications. Here are some best practices that can help you write high-quality JavaScript code: Follow a consistent coding...
Today, we will show you how to get the last character of a string in JavaScript. There are multiple methods to get the last character of a string. Get the...
In this short article, we will show you the six points for best practices in JavaScript. JavaScript Best Practices Avoid global variables Triple equal Modularize Declare Objects w/ const Optimize...
Today we’ll show you how to replace the entire page including Head tag using JavaScript. There are several ways to replace the page, however in this case we will replace...
In this short article, we’ll show you how to remove hostname and port from URL using JavaScript. There are numerous possible techniques, but we’ll focus on two of them. Different...
Today we will show you how to get a number of random elements from an array in JavaScript. In the previous article, we have explained how to get a random...
Today we will show you how to make the jQuery Multiselect DatePicker always open. In the previous articles, we explained how to implement multiselect date picker and how to fix...
When you are implementing a jQuery multi DatePicker then you may see the flickering issue on date selection. So in this article, you will see how to fix the flickering...
In this article, we will convert seconds to time string such as 10d 11h 44m 10s or 5h 10m 49s using Moment.js. Additionally, we need to use the moment-duration-format plugin...
In this short article, we will show you how to include text in the middle of Date format with Moment.js. Refer to the list of articles that are based on...
Today we will show you how to wait for the end of reisze event and then perform an action using JavaScript. When we resize the browser window, the “resize” event...
In this article, you will learn how to select multiple dates in jQuery DatePicker. There are so many libraries are available to implement the DatePicker but here we will show...
Sometimes we have to sort a date string array in JavaScript. In this article, we will show you how to sort a date string array using JavaScript. Checkout more articles...