toggle checkboxes javascript using prototype
Toggle All Check Boxes using prototype javascript library.
function toggleCheckBoxes(formName) {
// toggle Check Boxes using Prototype Library
var form=$(formName);
var i=form.getElements('checkbox');
i.each(function(item) {
if (item.checked)
item.checked=false
else {item.checked=true }
}
);
}
No Comments yet
Sorry, the comment form is closed at this time.
Powered by WordPress
RSS Feed - Syndicate this Site
and comments feed



