PDA

View Full Version : how can I redirect to the page the person types in?



joachim
10-23-2006, 12:43 PM
example:

the visitor types: "java"
now I want him to be redirected to www.@@@.com/java.html

Twey
10-23-2006, 01:20 PM
<form action="" onsubmit="this.action = this.elements.url.value + '.html'; return true;">
<input type="text" name="url">
<input type="submit">
</form>... but that's kind of what the address bar is for.

joachim
10-23-2006, 03:06 PM
I know, but it's for somekind of password thingy...

Twey
10-23-2006, 03:10 PM
http://www.twey.co.uk/?q=encpass

joachim
10-23-2006, 03:22 PM
thanx