摘要:
d..replace(/\s/g,'');去掉空格 阅读全文
posted @ 2015-09-28 17:22
花语苑
阅读(172)
评论(0)
推荐(0)
摘要:
需求:需要发送的请求:选中,发送name值,参数为true,不选中,发送name值,参数为false方法如下:$('#courseware_permissions_save_button').click(function(){ // var boxes = $('.courseware_perm... 阅读全文
posted @ 2015-09-28 16:39
花语苑
阅读(1181)
评论(0)
推荐(0)
摘要:
转载自:http://www.jb51.net/article/53599.htm网上大多数文章都提供的方法都是无效的,害死个人,本文中的方法小编亲测试有效,建议使用方法二:方法一:if ($("#checkbox-id")get(0).checked) { // do something}方法二:... 阅读全文
posted @ 2015-09-28 16:34
花语苑
阅读(166)
评论(0)
推荐(0)
摘要:
替换:d = d.replace("\"","").replace("\"","");全部替换:d = d.replace(/\"/g, ""); 阅读全文
posted @ 2015-09-28 16:33
花语苑
阅读(7416)
评论(0)
推荐(0)

浙公网安备 33010602011771号