全选删除JS
发布日期:2021-09-30 18:11:12 浏览次数:25 分类:技术文章

本文共 1558 字,大约阅读时间需要 5 分钟。

//判断是否有选择的checkbox 	  function selectCheck() 	  {
for(var i=0;i
> ACTION: public ActionForward deleteRow(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
StudentForm sg = (StudentForm)form; List
list = new ArrayList
(); String check = request.getParameter("select"); String [] id = check.split(","); for (int i = 0; i < id.length; i++) {
list.add(id[i]); } ProccessStu.getStu().delStudentTex(list); List
lists = ProccessStu.getStu().getStudentTex(); sg.setStu(lists); return mapping.findForward("initial"); } //全选---------------------------------------------------------------------------------- function selectAll() {
for(var i=0;i
窗口弹出在中间页面----------------------------------------------------------------- function openwindow( url, winName, width, height) {
xposition=0; yposition=0; if((parseInt(navigator.appVersion) >= 4 )) {
xposition = (screen.width - width) / 2; yposition = (screen.height - height) / 2; } theproperty ="width=" + width + "," + "height=" + height + "," + "location=0," + "menubar=0," + "resizable=1," + "scrollbars=0," + "status=0," + "titlebar=0," + "toolbar=0," + "hotkeys=0," + "screenx=" + xposition + "," //仅适用于Netscape + "screeny=" + yposition + "," //仅适用于Netscape + "left=" + xposition + "," //IE + "top=" + yposition; //IE window.open( url,winName,theproperty ); } JS不能键盘输入---------------------------------------------------------------------------

转载地址:https://blog.csdn.net/iteye_10361/article/details/81688589 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:ZIP操作
下一篇:String操作

发表评论

最新留言

关注你微信了!
[***.104.42.241]2024年04月03日 10时03分33秒