jquery中$.ajax
$.ajax({ type : 'post', url : '/edm/testEmail.php', data: {tId:tId, sId:sId ,testEmail:testEmail}, dataType : 'json', success:function(msg){ if(msg.result == 'success'){ alert('发送成功'); }else{ alert(msg.result); } } })
简单记一下,以后有用。
千里之行,始于足下。改变现在,就是改变未来。改变未来,从现在开始。
个人网站:http://www.wangkongming.cn