JS 全选
<script language="JavaScript">
function Check_All()
{
for (var i=0;i<document.Form1.elements.length;i++)
{
var e = document.Form1.elements[i];
if (e.type=="checkbox")
{
if(e.name!="Chk_SMS")
{
e.checked = window.Form1.Chk_All.checked;
}
}
}
}
</script>
function Check_All()
{
for (var i=0;i<document.Form1.elements.length;i++)
{
var e = document.Form1.elements[i];
if (e.type=="checkbox")
{
if(e.name!="Chk_SMS")
{
e.checked = window.Form1.Chk_All.checked;
}
}
}
}
</script>