日期:2014-05-16 浏览次数:20429 次
function open1(){
//$('#w').window('open');
$('#w').window({
width: 600,
height: 400,
modal: true,
href: "HRKQsystem_Add.aspx",
title: "hehe"
});
}
function open2() {
var ID;
var Modifynumber = 0;
for (var i = 0; i < window.document.form1.elements.length; i++) {
var e = form1.elements[i];
if (e.Name != "CheckBoxAll") {
if (e.checked == true) {
Modifynumber = Modifynumber + 1;
var inputs = e.parentNode.getElementsByTagName("input");
if (inputs.length == 2 && inputs[1].id.substr(inputs[1].id.length - 3) == "hid")
ID = inputs[1].value;
}
}
}
if (Modifynumber == 0) {
alert("请至少选择一项!");
return false;
}
else if (Modifynumber > 1) {
alert("只允许选择一项!");
return false;
}
alert(ID)
&nb