![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java学习
mike00zhao
无无
展开
-
javascript实现全选、反选、取消操作
$(document).ready(function(){ $("#selectall").click(function(){ $("#form1 input[name='intresting']").each(function(){ this.checked=true; }); }); $("#selectother").click(function(){ $("#form1 in原创 2014-07-24 19:48:18 · 349 阅读 · 0 评论 -
用javascript实现5秒页面跳转
无标题文档 function timer(){ var time=document.getElementById("second").innerHTML; if(time>1){ document.getElementById("second").innerHTML=time-1; }else{ location.href="http://www.baidu.com"; }原创 2014-07-24 19:29:37 · 396 阅读 · 0 评论