Posts from jQuery

Handle broken image URL on our web page in jQuery

By Faruque Ahamed Mollick

We generally show images on the web page using HTML img tag. In the HTML image tag, we have to pass the image URL into the “src” attribute. But when the image on that .... Read More

Preview image before uploading with HTML file input field in jQuery

By Faruque Ahamed Mollick

I hope you are familiar with the HTML file input field. From the file input field, users can choose any file that needs to be uploaded. Did you ever think of how it was if the user.... Read More

Create JavaScript Alert Box With Three Buttons

By Saruque Ahamed Mollick

The JavaScript alert box has only one button which is the ok button. Alert box With two buttons ok and cancel is known as Confirmation Dialog Box. In this tutorial, We will lea.... Read More

How to show and hide div on mouse click in jQuery?

By Saruque Ahamed Mollick

Hi, in this post we are going to learn how to show and hide div on mouse click in jQuery. In this JavaScript tutorial, I will show you an easy example where I will make a div eleme.... Read More

How to Call jQuery function from JavaScript with example

By Saruque Ahamed Mollick

I have heard many times people saying that I need to call jQuery function from JavaScript. I told them there is no special technique to do that. Just put your fingers on your keybo.... Read More

Add and remove attribute in jQuery

By Faruque Ahamed Mollick

In this post, we are going to learn how to add an remove attribute in jQuery from an element. Adding and removing attribute to an element is quite easy. Here I am going to show you.... Read More

Replace a particular string of an element in jQuery

By Faruque Ahamed Mollick

In this post, we are going to learn how we can replace a particular string of an element in jQuery. We are going to understand it with simple and easy jQuery JavaScript code snipp.... Read More

How To Get Selected Option from HTML Form Dropdown in jQuery

By Saruque Ahamed Mollick

Hi developer, I am happy to see that someone is looking for this tutorial because once I had faced the same problem on my project. The project was on a  Currency Converter PHP Sc.... Read More