thinkphp用ajax传输除了问题
thinkphp吧
全部回复
仅看楼主
level 2
<script type="text/javascript">
$(".bianji").click(function(){
var goodsid=$(this).attr("data-goodsid");
$.post("<{:U('Shop/Seller/bianji')}>",{goodsid:goodsid},function(e){
if(e.status == 0){
$btnobj.html(e.info);
setTimeout(function(){
$btn.button('reset');
}, 2000);
return false;
}
alert(e.status);
//$btn.html(e.info+" 正在跳转...");
setTimeout(function(){
window.location.href = e.url;
},1500);
});
});
</script>
我alert(e.status)和alert(e.url)都是
2015年08月21日 11点08分 1
1