I am going to show you how to get the current URL of the web page with the help of JavaScript on the client side. We can use the JavaScript window.location object to get the curren.... Read More
There is a lot of methods to enable a popup notification for a certain event on the browser. But all of that notifications will be in your webpage. The user will see the notificati.... Read More
Today in this post we are going to see how we can get the name of the class of an element when someone clicks on the element. In short, we are going to get the class name of an ele.... Read More
Here in this post, we are going to see how to change the URL of the browser in JavaScript without loading a new page or reloading the page again on click. Here we are going to crea.... Read More
We often find popup notifications on many websites or web-based front-end application that hides after a certain amount of time automatically. Today we are going to make our own po.... Read More
Here in this tutorial, you are going to learn how to control the playback speed of an HTML5 video to give it a slow motion effect. Let’s first write our HTML code: <video .... Read More
There are situations when you need to prevent a button from clicking on it on a web page after the first click. For example, on a registration form if we allow clicking multiple ti.... Read More
We may be needed the scroll position of a web page in the browser window. So here in this tutorial, we are going to see how to get the scrolling position amount of a web page on th.... Read More