function SaveItem(index) {
var tr = $("tr[id=" index "]");
var innerid = tr.find('input[ID$=txtInnerID]').val();
var item = tr.find("select[id*=selItem]").val();
var des = tr.find('input[ID$=txtDescription]').val();
var qty = tr.find('input[ID$=txtQTY]').val();
var 단위 = tr.find('input[ID$=txtUnit]').val();
var total = tr.find('input[ID$=txtTotal]').val();
var comment = tr.find('input[ID$=txtRemark]').val();
//alert(innerid "/" 항목 des 수량 단위 총 비고);
//验证项目编号
var proinnerid = $("#hidProjectInnerID").val();
if (proinnerid == "") {
$("#txtProjectNo").removeClass("Field");
$("#txtProjectNo").addClass("오류");
거짓을 반환합니다.
}
/*
jQuery.ajax({
type: 'get',
url: '../Handler/ProjectReport.ashx',
data: { "key ": "저장", "proinnerid": $("#hidProjectInnerID").val(), "innerid": innerid, "type": 유형, "content": 콘텐츠, "startdate": 시작 날짜, "enddate": enddate, "remark": 설명 },
cache: false,
success: function (result) {
var jsonobj = eval(result)
if (jsonobj[0].result == "true")
alert("Sueecss");
else
alert("오류")
}
});
*/
}
function DelItem(index) {
var tr = $("tr[id=" index "]");
//var innerid = tr.find('input[ID$=txtInnerID]').val();
$("tr[id=" index "]").remove();
}