I need some help with document.location. Basically, I need a button, using document.location, with the URL hide://. Please help! Thanks!
A:
Could you please elaborate what you want?
Do you want a button to be linked with document.location? I don't understand why you would need that
Sandeep
2010-05-25 06:33:36
Yes, thats right. linked with document.location
Henry D'Andrea
2010-05-25 06:35:45
+1
A:
<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...
oedo
2010-05-25 06:48:53