Posts from jQuery

Print content from a particular div element using jQuery

By Faruque Ahamed Mollick

Here in this post, we are going to see how to print content from a particular div element using jQuery so that it can be saved as PDF. In this tutorial, we are going to useĀ printT.... Read More

Fix Uncaught ReferenceError: $ is not defined in jQuery

By Faruque Ahamed Mollick

Today in this post I am going to tell you how to fix a common jQuery error which is “$ is not defined in jQuery”. Many of newbie don’t know why this kind of error.... Read More

Validating phone numbers in JavaScript

By Faruque Ahamed Mollick

Here in this post, we are going to see how to validate phone number from a text type HTML input field. Phone number validation is often used in web. So it will be good if we see ho.... Read More

jQuery multiple events to trigger same function

By Faruque Ahamed Mollick

I hope this post is going to be interesting to you. Here in this post, I am going to tell you how to trigger a function with multiple JavaScript events. Triggering the same functio.... Read More

Live email validation using jQuery

By Faruque Ahamed Mollick

Though server-side email validation is a secure way of validating email, still with server-side validation, client-side validation using JavaScript can increase the user experience.... Read More

Immediately submit upload form after selecting file

By Faruque Ahamed Mollick

In this post, we are going to see how to submit an HTML form with input type file immediately after one select a file. That means when one selects a file it should submit instantly.... Read More

Check whether a checkbox is checked in jQuery

By Faruque Ahamed Mollick

Today in this post we are going to see how to detect whether an HTML input checkbox is checked or not. We are going to see it with the simple example of code. Below is the HTML cod.... Read More

Show or hide input field based on checkbox using jQuery

By Faruque Ahamed Mollick

In many times it is required to show an HTML input field to the user depending upon the checkbox. In most of the cases when the user checks an input checkbox field, a new input fie.... Read More