Ok, this should be easy but for me it doesn't seem so... probably because i'm very close to the deadline and have a lot to do.

This is what i'm trying to do;
I have an html form with a textfield and a button - whenever the button is clicked or enter is pressed i would like it to goto a particular page and place the text field's value on the end as a hash.

for instance;
user enters "test" and presses enter or hits the button and the page goes to "google.com#test"