Hello,
Well I think that this is a copy/paste typo. Try this:
$(“#addrow”).click( function() {
emptyItem=[{id:””,jobname:””,process:”stopped”,disabled:”No”,description:””,frequency:”manual”,fromemail:””,fromname:””,replyemail:””,subject:””,contenturl:””,restricted:”No”,lastrun:”0000-00-00″}];
$(“#datagrid”).jqGrid('addRowData',0,emptyItem);
$(“#datagrid”).jqGrid('editRow', 0,true);
$(this).attr(“disabled”,true);
$(“#editrow”).attr(“disabled”,true);
$(“#saverow”).attr(“disabled”,false);
$(“#cancel”).attr(“disabled”,false);
});
Kind Regsrds
Tony