- 博客(4)
- 收藏
- 关注
转载 json传值到后台
1.定义一个键值对对象function ObjData(key,value){this.Key=key;this.Value=value;} 2.在点击表单的提交buttom的方法中:var list=document.getElementById("myForm").getElementsByTagName("input");//查询form下的所有input标签var...
2018-07-02 23:31:00 86
转载 js 加载
1. <% request.getSession().putValue("time","0"); %> var a = <%=request.getSession().getValue("time")%>;alert(a ); 2. $(document).click(function (e) {}); 转载于:https://www.cnbl...
2017-05-08 22:15:00 75
转载 jsp window.onload ,
1. <html> <body onload="func()"> </body> </html> 2. <script type="text/javascript"> function func(){……} window.onload=func; </script> 3. <html> <...
2017-05-08 22:14:00 334
转载 获取html table下元素
1.js 获取table下列表数据 var table =document.getElementById ('yhwclwhjlList'); //获取id为'yhwclwhjlList' 的table var rows = table.rows.length; //获取行数 var colums=table.rows[0].cells.length; //获取...
2017-04-11 17:31:00 329
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人