微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

JS中如何实现复选框全选功能

js实现复选框全选功能代码如下所示:

rush:js;"> "; if($TYPE!="0") $query .= " and CATALOG_NO='$TYPE' "; //echo $query."
"; $cursor= exequery(TD::conn(),$query,$connstatus); $RMS_FILE_NEW_COUNT=0; if($ROW=MysqL_fetch_array($cursor)) $RMS_FILE_NEW_COUNT=$ROW[0]; if($RMS_FILE_NEW_COUNT==0) { ?>
ottom" class="small1">%s条"),'')?> ottom" class="small1"> 显示已发布文件 ======================================= //$query = "SELECT * from RMS_FILE_NEW,RMS_ROLL_ROOM where RMS_FILE_NEW.ROLL_ID=RMS_ROLL.ROLL_ID and RMS_ROLL.ROOM_ID=RMS_ROLL_ROOM.ROOM_ID and RMS_FILE_NEW.shenpiren='".$_SESSION["LOGIN_USER_ID"]."' and RMS_FILE_NEW.DEL_USER='' and SHENPISTATUS='1'"; $query = "SELECT * from RMS_FILE_NEW where RMS_FILE_NEW.shenpiren='".$_SESSION["LOGIN_USER_ID"]."' and RMS_FILE_NEW.DEL_USER='' and SHENPISTATUS='1'"; //echo $query1."
"; if($FIELD==""){ $query.=" order by RMS_FILE_NEW.ADD_TIME DESC,RMS_FILE_NEW.MOD_TIME DESC"; } else { $query .= " order by $FIELD"; if($ASC_DESC=="1") $query .= " desc"; else $query .= " asc"; } //echo $query; $query .= " limit $start,$ITEMS_IN_PAGE"; if($ASC_DESC=="0") $ORDER_IMG="
Nowrap align="center">Box" name="allBox" id="allBox_for" onClick="check_all();">Nowrap align="center" onClick="order_by('FILE_CODE','');" style="cursor:hand;">Nowrap align="center" onClick="order_by('FILE_TITLE','');" style="cursor:hand;">Nowrap align="center">Nowrap align="center" onClick="order_by('SEND_UNIT','');" style="cursor:hand;">Nowrap align="center" onClick="order_by('SEND_DATE','');" style="cursor:hand;">Nowrap align="center">Nowrap align="center">Nowrap align="center">Nowrap align="center"> Box" name="file_select" value="" onClick="check_one(self);">" class="SmallButton" onClick="delete_all()" title=""> " class="SmallButton" onClick="shenpi_all()" title="">

以上所述是小编给大家介绍的JS中如何实现复选框全选。编程之家 jb51.cc 收集整理的教程希望能对你有所帮助,如果觉得编程之家不错,可分享给好友!感谢支持

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Nowrap align="center">Nowrap align="center">Nowrap align="center">Nowrap align="center">Nowrap align="center">Nowrap align="center">