-
Help me!!!!
:wave:
Can anyone tell me the javascript code for changing the address bar content...
Basically I want to create a button and a textbox and then I want the address bad to be http:// & the textbox contents and I also want the browser to immidiately go to that page when the button is pressed...
PLease help..I have 0 knowledge in Javascript.... :cry:
-
Re: Help me!!!!
I'm sorry. I don't understand exactly what you are trying to do. What do you mean change the URL content? If you are attempting to mask the URL, you cannot do it by JavaScript.
-
Re: Help me!!!!
Ok...I'll make myself more clear....
Lets say there's a textbox on a page along with a button....
If I enter the word "google.com" in the text box and then click the button I
want it to automatically take me to the page http://www.google.com...
So what Javascript code do I need to use???
-
Re: Help me!!!!
Okay, that makes a lot more sense.
Code:
<input type="text" onchange="window.location=this.value" />