2013年8月9日
摘要: function InitGroup() { var ID = ""; $("div[id^=group]").removeClass("box_tit1"); //jquery进行模糊获取ID以group开头的div $("div[id^=group]").addClass("box_tit2"); $("div[id^=blueprint]").hide(); $("#group" + ID).removeClass("box_tit2&qu 阅读全文
posted @ 2013-08-09 11:09 紫叶嵋 阅读(164) 评论(0) 推荐(0)
摘要: function CheckAll(groupID, evt) { if (window.event) //屏蔽父事件响应(例如:点击某一个复选框时,其行事件不响应){ event.cancelBubble = true; } else if (evt) { evt.stopPropagation(); }if ($("#" + groupID).attr('checked')) { $("#blueprint" + groupID.substring(6)).find(':checkbox').each( functio 阅读全文
posted @ 2013-08-09 10:59 紫叶嵋 阅读(179) 评论(0) 推荐(0)
摘要: 通过Jquery获取RadioButtonList选中值第一种:通过find方法 获取RadioButtonList所选中的值View Code 1 第二种:View Code 1 HTML:View Code 1 2 3 性别 4 5 6 7 8 9 10 ... 阅读全文
posted @ 2013-08-09 10:51 紫叶嵋 阅读(216) 评论(0) 推荐(0)