开发者

document.location Question

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜