link with dynamic value
Posted: Thu Nov 24, 2005 10:13 pm
i have a link but i want to add a value on to it with javascript with a onclick event. heres the idea
when you click that link, i want the value of the text box to be put into the end of the link so the get value would be the value that was in the text box.
how would i go about doing this? don't tell me there are so many other better ways to do somtin like this because i am struggling to fix these problems in this project i got in at the very end and this is the only real way to do this.
Code: Select all
<input type="text" name="other" size="3">
<a href="?go=b_funk&other=">Click ME!</a>how would i go about doing this? don't tell me there are so many other better ways to do somtin like this because i am struggling to fix these problems in this project i got in at the very end and this is the only real way to do this.