[ 2005-07-01 09:14:40 | 作者:
admin | QQ: 42100766 ]
aspx文件中加
<script language="javascript">
<!--
//CheckBox全选And反全选
function select_deselectAll (chkVal, idVal)
{
var frm = document.forms[0];
for (i=0; i<frm.length; i++)
{
if (idVal.indexOf ('CheckAll') != -1)
{
if(chkVal == true)
{
frm.elements[i].checked = true;
}
else
{
frm.elements[i].checked = false;
}
}
...
阅读全文