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...
精彩评论