随笔分类 -  web前端

js 函数的参数是变量
摘要:var id = "#"+paramArray[i]; var paramValue = $(obj).parent().find(id).text() 阅读全文

posted @ 2016-05-26 19:10 wang-2345 阅读(281) 评论(0) 推荐(0)

jQuery checkbox 默认选中 取消选中后取值仍然会取到未选中的值
摘要:事先说明一点:在标签中配置checked属性时 不管设置为ture或false 默认都为选中<input type="checkbox" checked="ture"/>或<input type="checkbox" checked="false"/> 所以使用jquery配置默认选中; $("in 阅读全文

posted @ 2016-04-21 16:27 wang-2345 阅读(2212) 评论(0) 推荐(0)

导航