In this post here, I’ll show you how to get the selected value in a SELECT dropdown list using plain old JavaScript. This is for the beginners. ...
Let us assume, your web page has a DIV element and you want to auto-refresh its contents every few seconds. You can easily do this using jQuery or any other library. I’ll show how to auto-refresh a ...
You can use the .appendChild() method in JavaScript to add or append an element to the body section of the document or the web page. Lets find out how. ...
Ajax, as you know stands for Asynchronous JavaScript and XML, which allows web applications (client side) to send and receive data from a server, asynchronously. Ajax can be used with any framework or ...
In todays post, I am sharing a quick tip showing how to get span element inside an li tag using jQuery and JavaScript. Let’s assume, I have an unordered list on my web page and inside each li tag ...
I recently notice a bug in my Bulk Image Resizer tool. The file input was not working after clearing the existing selections and selecting new files. The issue is now resolved. After ...
In JavaScript, you can use the getElementByTagName() method to get elements with a given tag name. This makes is easy to get all elements of a specific type in a form. Here, I’ll show how to get all ...
In this article, I’ll show you how to convert your form data into a PDF using only JavaScript. Not just plain text data, the example also shows how easily you can convert an image on your web form ...
Highcharts is a pure JavaScript library, which provides easy to use methods and properties to create interactive and animated charts for your websites and web applications. It supports many different ...
I remember using the filter() method once to remove empty slots in an Array in JavaScript. An empty array slot might look like this … const arr = [1, , 3, 4, , 6]; and to remove these slots you ...