Entries Tagged as 'JQuery'

Most Useful jQuery plugins

JQuery 3 Comments »

Like most of CF programmer, I am also a fan of jQuery. jQuery is fast and awesome JS framework. I love jQuery. Here I mentioned some useful jQuery plugins which i used in most my projects.

Read more...

How to check if checkbox is checked using jQuery

JQuery 1 Comment »

There are 3 ways in jQuery to find a check box is checked or not.

// First way 
$('#checkBox').attr('checked'); 
// Second way 
$('#edit-checkbox-id').is(':checked'); 
// Third way for jQuery 1.2
$("input[@type=checkbox][@checked]").each( 
    function() { 
       // Insert code here 
    } 
);
// Third way == UPDATE jQuery 1.3
$("input[type=checkbox][checked]").each( 
    function() { 
       // Insert code here 
    } 
);

 

First two methods return true or false. True if that particular checkbox was checked or false if it is not checked. The third method iterates though all checkboxes with checked attribute defined and performs some action.

JQuery Tutorial Sort table

JQuery No Comments »

Sorting table with alternate row colors with Gmail contact importer example

Read more...

JQuery Tutorial - Part 2

JQuery No Comments »

How to execute code when the page loads

Main uses of the JQuery

Selector Expressions in JQuery

 

Read more...

JQuery Tutorial - Part 1

JQuery No Comments »

This is the first part of the JQuery tutorial series.

Javascript frameworks basics

Read more...

Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds