[img]http://dl.iteye.com/upload/attachment/0071/5967/babd3b57-120c-3f47-b3c3-a144e33aa171.png[/img]
<input type="button" class="btn-50" value="保存" id="saveBtn" style="cursor: pointer;"/>
$("#saveBtn").click(function() {
jQuery.post("insertOrUpdatePo.ugo",$("#submitform").serialize(),function(jsonobj){
if(jsonobj.msg=="ok"){
alert("操作成功,点确定关闭本窗口");
self.opener.location.reload();
window.close();
}else{
alert("操作失败了:" + jsonobj.msg);
}
},"json");
});