摘要: 获得所有复选框的值function getAllValue() { var str=""; $("input[name='checkbox']:checkbox").each(function(){ if($(this).attr("checked")){ str += $(this).val()+"," } }) alert(str); } 阅读全文
posted @ 2013-12-13 16:25 火光闪耀 阅读(172) 评论(0) 推荐(0) 编辑
摘要: window.showModalDialog(URL,dialogArgments,features) 打开一个新窗口URL为要将打开的网页地址。dialogArgments为设定好传递给新视窗网页的参数,可以为任意数据类型。features:certer , dialogHeight, dialogLeft,dialogTop,dialogWidth,help(是否显示help按钮,下同),status,resizeable值=1为yes,0为no.dialogArgments,可以传递值到新的窗口。window.returnValue.可以在showModalDialog开启的窗口关闭后前 阅读全文
posted @ 2013-12-13 15:55 火光闪耀 阅读(335) 评论(0) 推荐(0) 编辑