In JavaScript, you can use window.location.href or simply window.location property to redirect to another page. This is a quick JavaScript tip for 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 ...
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. ...
We often pass data between web pages as information in the form of URL parameters (or query strings). A URL can have single or multiple parameters. When redirecting to another page from your ...
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 ...
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 ...
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 ...
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. ...
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 ...