开发者

document.location Question

开发者 https://www.devze.com 2023-01-01 10:08 出处:网络
I need some help with document.location. Basically, I nee开发者_如何学Pythond a button, using document.location, with the URL hide://. Please help! Thanks!<button value=\"click me\" onclick=\"docum

I need some help with document.location. Basically, I nee开发者_如何学Pythond a button, using document.location, with the URL hide://. Please help! Thanks!


<button value="click me" onclick="document.location='hide://'" />

or am i missing something?

edit : as CMS has mentioned, hide:// is not a valid url. i'm not sure what you want to do, OP, but hopefully that snippet will set you on the right path...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号