Categories
Javascript / JQuery Snippets

JQuery Check if Element Exists

Categories
Javascript / JQuery Snippets

JQuery Adding/Removing Class on Hover

Categories
JQuery

Scroll to top JQuery

When you have web page too long, it is recommended to provide your users easy navigation mechanism.You we can provide it in many ways like fixed navigation at top and left or right navigation panels..etc. Here I am gonna show you quick trick called “Scroll to top”. Basically by using this, user can easily reach […]

Categories
CodeIgniter

codeigniter ajax username/email availability check using JQuery

Here is the simple script to check live username or email availability using jQuery’s Ajax method in CodeIgniter. you can also apply this logic/method to any other filed check. Controller : application/controller/User.php We are using in build CodeIgniter form validation library’s is_unique() function to check email/username availability. So I have not created user model. In […]

Categories
JQuery

How to Check Uncheck All Checkboxes Using Jquery

This post is about Checking and Un-Checking all the check boxes with one single click. Below is the Sample code to Check or Unchecked All Check boxes Using JQuery. $(“:checkbox”) selector is used to select all the check boxes in the page,after selecting we set the checked attribute as true or false to perform the […]