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.
Entries Tagged as 'JQuery'
Aug 16
Jun 10
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.
Feb 1
Sorting table with alternate row colors with Gmail contact importer example
Jan 20
How to execute code when the page loads
Main uses of the JQuery
Selector Expressions in JQuery
Jan 1

Recent Comments