随笔分类 - jquery
摘要:男 女 radio: 获取 var sex = $(":radio[name=sex]:checked").val(); var sex =$("input[name=sex]:checked").val(); 设置 $(".man").attr("checked", t...
阅读全文
摘要:id: node id, which is important to load remote datatext: node text to showstate: node state, 'open' or 'closed', default is 'open'. When set to 'closed', the node have children nodes and will load them from remote sitechecked: Indicate whether the node is checked sele
阅读全文
摘要:$("input[name='xxx']").val();http://www.w3school.com.cn/jquery/jquery_ref_selectors.asp
阅读全文
摘要:禁用 function AddWz() { $("#btn_submit").attr({ "disabled": "disabled" }); }启用$("#btn_submit").removeAttr("disabled");隐藏$('#test').css('display', 'block');显示$('#test').removeAttr("style")通过使用 addClass() 和 remov
阅读全文

浙公网安备 33010602011771号