<li onclick="closes();">BTC</li>
alert跳转到指定页面
1 <script type="text/javascript"> 2 function closes(){ 3 alert('BTC暂停充值!!'); 4 // history.back(); 5 location.href="http://47.92.74.202:81/payment.php"; 6 } 7 </script>
站内跳转可以不加网址
<script type="text/javascript"> function closes(){ alert('BTC暂停充值!!'); // history.back(); location.href="/payment.php"; } </script>
by 小鬼PSer 2017-09-21 09:21:23