www.gusucode.com > 3102网博士成品网站管理系统 PHP网站源码程序 > 3102/3102/tools/admin/js/wy.js
//51发布表单提交 $(document).ready(function(){ $('#wyForm').submit(function(){ $('#wyForm').ajaxSubmit({ target: 'div#notice', url: 'post.php', success: function(msg) { if(msg=="OK"){ $('div#notice').hide(); $().alertwindow("51客服添加成功","wy.php"); }else{ $('div#notice').hide(); $().alertwindow(msg,""); } } }); return false; }); }); //弹出对话框 function Dpop(url,w,h){ res = showModalDialog(url, null, 'dialogWidth: '+w+'px; dialogHeight: '+h+'px; center: yes; resizable: no; scroll: no; status: no;'); if(res=="ok"){window.location.reload();} }