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

前端之家收集整理的这篇文章主要介绍了JS中如何实现复选框全选功能前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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) { ?>
')?> 显示已发布文件 ======================================= //$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="
Box" name="allBox" id="allBox_for" onClick="check_all();">');" style="cursor:hand;">');" style="cursor:hand;">');" style="cursor:hand;">');" style="cursor:hand;">Box" name="file_select" value="" onClick="check_one(self);">" class="SmallButton" onClick="delete_all()" title=""> " class="SmallButton" onClick="shenpi_all()" title="">

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

原文链接:https://www.f2er.com/js/43403.html

猜你在找的JavaScript相关文章