var WorkList = new Array();/ /array object
//以下は自己定義エンティティです
function WorkEx(Depart, title, begintime, endtime) {
this.SId = 0;
this.Id = -(WorkList.長さ 1);
this.DepartmentName = 出発;
this.BeginTime = begintime;
this.Description = "";
this .Enable = 0;
return this;
}
function DeleteWork(guid) {
WorkList = $.grep(WorkList, function (val, key) {
return val.Id;
});
ShowWork()
}
関数 ShowWork() {
var html = ""; function (key, val) {
html = html "
" val.DepartmentName ":" val.Title
"、サービス時間: " GetJsDate(val.BeginTime) " to " GetJsDate( val.EndTime) "
} );
$("#tdWorkList").html(html);
}
function AddWork() {
if(CheckIsNull("勤務先アドレス")
&& checkisnull( "worklevel"、 "責任はnull") 四川省楽田区の某製薬工場
}
}