javascript 实现本页checkbox全选
function CheckOthers(form)
{
for (var i=0;i<form.elements.length;i++)
{
var e = form.elements[i];
if (e.checked==false)
{
e.checked = true;
}
else
{
e.checked = false;
}
}
}
哲也-健康
function CheckOthers(form)
{
for (var i=0;i<form.elements.length;i++)
{
var e = form.elements[i];
if (e.checked==false)
{
e.checked = true;
}
else
{
e.checked = false;
}
}
}