In JavaScript HTML DOM, we can easily get the child element of a parent element using the childNodes property. Suppose we have div element and a child div inside this just like you.... Read More
I am again here with a new JavaScript solution. In this tutorial, you are going to learn how to get last n items from an array in JavaScript programming. For example, suppose you h.... Read More
In this tutorial, you will see how to remove duplicate values from a JavaScript array with simple and quick examples of JS code. First of all, I would like to let you know that, th.... Read More
On the web, it is often necessary to send HTTP requests with post data. In this article, you will learn how to send post data in JavaScript using the XMLHTTPRequest object. The XML.... Read More
The JavaScript mousemove event executes when the mouse pointer moves over an element. With onmousemove event, we can execute our JavaScript code on moving the mouse pointer. Every .... Read More
In this article, you are going to learn how to convert a comma separated string into an array in JavaScript. All the elements of our array will hold the items separated by commas. .... Read More
JavaScript has an in-built string.replace() method that is used to replace part of any given string with another string or a regular expression. Here, we just have to pass a value .... Read More
If you are reading this article, then you must be familiar with the QR code. QR code stands for Quick Response code. It is actually a trademark for a type of matrix barcode. If you are familiar with JavaScript then you may be interested in QR code generation using this programming language on the browser. […] Read More