jquery中ajax数据传输写法

$.post('{:url("index/index/logininfo")}',{'username':name,'password':pwd},function(data){ if(data.result){ alert(data.result); // window.location.href='./index.html'; }else{ alert(2); } },'json'); 当按
相关文章
相关标签/搜索