How do I append a url typed into a input text field to an anchor then follow it when anchor is click
Posted
by Tylor
on Stack Overflow
See other posts from Stack Overflow
or by Tylor
Published on 2009-09-18T18:46:15Z
Indexed on
2010/04/10
11:53 UTC
Read the original article
Hit count: 208
I want to have a text field where people can type in a value. Then I want to have a href open a url with the text field appended to the end.
So if the text field says "elephant" then when they click the link, a page will open with at example.com/elephant.
I think javascript would be the easiest way to accomplish this but I just don't know how.
© Stack Overflow or respective owner