![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
问题集合
文章平均质量分 54
Alfred_tao
这个作者很懒,什么都没留下…
展开
-
jquery全选和反选
id="list"> >> type="checkbox" value="1"> 1.时间都去哪儿了 >> type="checkbox" value="2"> 2.海阔天空 >> type="checkbox" value="3"> 3.真的爱你 >> type="checkbox" value="4"> 4.不再犹豫 >> type="checkbox" va转载 2016-03-18 11:26:44 · 375 阅读 · 0 评论 -
jsp中时间日期算法集合
1. 计算 年龄相差18岁(如:1999-09-09 2006-01-01) if(Math.abs((new Date(getBirthday(code)) - new Date(holderYear))/(1000*60*60*24*365)) showMsg("相差不得少于18岁 ");return false;}原创 2016-03-18 11:33:18 · 599 阅读 · 0 评论 -
jquery 多个单选按钮的全选和反选
function checkRedio(){ var _radio = document.getElementsByTagName("input"); for(var i = 0;i if(_radio[i].value == 'check_no_0' && !_radio[i].checked){ $('input:checkbox').eq(0).rem原创 2016-03-18 11:48:34 · 724 阅读 · 0 评论 -
问题集合
select 下拉框 选中赋值 不能设置属性 disabled=ture;这样不能取值。 提交保单时$("#insuredRelation").attr("disabled",false); 设置false。可以取值原创 2016-03-11 16:40:52 · 425 阅读 · 0 评论 -
js
初始化$(document).ready(function(){ $("p").click(function(){ $(this).hide(); });});absolute生成绝对定位的元素,相对于 static 定位以外的第一个父元素进行定位。元素的位置通过 "left", "top", "right" 以及 "原创 2016-05-04 16:00:16 · 401 阅读 · 0 评论