Blogger Information
Blog 63
fans 2
comment 0
visits 163427
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
onClick事件跳转方法
书声的博客
Original
5185 people have browsed it

如果是本页显示可以直接用location,方法如下:


onclick="Go('hk_money.php');
return false"  
①onclick="javascript:window.location.href='URL'"  
②onclick="location='URL'"  
③onclick="window.location.href='URL?id=11'"onclick="window.open('https://www.alipay.com','_blank');"

//在新页面打开onclick="window.open('https://www.alipay.com','_self');"

 //覆盖当前页面打开,不出弹出刷新提示哦!可以用这个做刷新功能!

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post