执行删除操作取到的值为NULL
本帖最后由 yupl007 于 2013-07-31 11:20:46 编辑
html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
信息管理function query() {
window.location.href = '';
}
function add() {
window.location.href = '';
}
function distroy() {
var obj = document.forms['tableform'];
var d = delObj("chk");
if (!d) {
return d;
}
if (confirm("确实要删除吗?")) {
obj.action = '' + "?"
+ getAlldata(obj);
obj.submit();
} else {
return false;
}
}
$("#queryBtn").removeAttr('onclick').click(
function() {
var obj = document.forms['queryForm'];
obj.action = ''
+ '?deptid=' + document.getElementById('deptid').value;
obj.submit();
});
$(document)
.ready(
function() {
var tree = initDropDownTree('orgTree',