level 3
$('#button1').click(function(){
$.ajax({
type:"post",
dataType: 'json',
url:'{:U("LoginController/saveMessage")}',
error:function(){
alert("当前ajax操作出错!");
},
success:function(msg){
alert(msg);
}
});
});
到底哪里错了,新手好崩溃啊
2015年05月06日 02点05分