久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      php如何實現(xiàn)彈出提示框并跳轉

      php如何實現(xiàn)彈出提示框并跳轉

      php如何實現(xiàn)彈出提示框并跳轉

      首先下載layer彈窗插件并引入插件;然后在js代碼中請求php進行業(yè)務操作,操作成功后將請求返回的消息用“l(fā)ayer.msg()”進行提示;最后設置提示完成后進行頁面跳轉即可。

      代碼實例

        $(function(){      $.post('./action.php', { name: 'xiaoming' }, function(data){        if (data.code == 1) {         layer.msg(data.msg, function(){           window.location.href = data.url;         });       } else {         layer.msg(data.mg);       }     });    });

      推薦教程:《PHP教程》

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號