View Single Post
Old 03-17-2009, 04:51 AM   #4 (permalink)
srihari83
New Member
 
Join Date: Mar 2009
Model: 7290
PIN: N/A
Carrier: airtel
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Smile

Pls. find the below code...!

for(i=0; i<frm.elements.length; i++)
{
var alertText = "called";
if(frm.elements[i].type == "checkbox"){
if(frm.elements[i].name!="chkSelectAll")
{
frm.elements[i].checked=frm.elements["chkSelectAll"].checked;
}
}
}
Offline   Reply With Quote