Posts from jQuery

How to set a timer in jQuery?

By Faruque Ahamed Mollick

In this post, we are going to learn a simple yet useful jQuery trick. here we are going to see how to set a timer using jQuery. In a project, it may be needed to set a timer which .... Read More

Select option from dropdown select tag by text instead of value in jQuery

By Faruque Ahamed Mollick

In most of the time, we generally select an option from an HTML select box by the value of that option. But did you ever think about selecting an option by the text of that option?.... Read More

Select element by its attribute in jQuery

By Faruque Ahamed Mollick

Selecting an element by its attribute is possible and it is so easy also in jQuery. Now we are going to see how to select an element by the attribute using jQuery. At first, let.... Read More

Set a default image for broken or Unavailable image URL in JavaScript

By Faruque Ahamed Mollick

When the URL of an image on the web page is no more available then the images can’t be seen also on the web page and on many of the browsers, it shows some kind of marking th.... Read More

How to reload an iframe in jQuery?

By Faruque Ahamed Mollick

In this tutorial, you are going to learn how to reload an iframe using jQuery code. We use the HTML iframe tag to load external content, videos or web page into our own web pages. .... Read More

Replace URL in HTML or text content with clickable link using JavaScript

By Faruque Ahamed Mollick

In this tutorial, we are going to see how to select the URL from text or HTML content or from a string from an element and make it clickable using JavaScript. We are going to use j.... Read More

Send HTTP Get Request To A Page And GET The Result Back Using jQuery

By Faruque Ahamed Mollick

In this post, we are going to learn how to send HTTP GET request to a page and how to get the result back from that page using jQuery get() method. Before we are going to see the c.... Read More

Add and remove class dynamically to an element using jQuery

By Faruque Ahamed Mollick

Adding and removing class dynamically to an element can make a web page more interactive. Using jQuery it becomes a simple and easy task to add and remove class dynamically. It jus.... Read More