Hello everyone,
I am new to Javascript and try to find a solution to my issue but failed. My problem is, I have an input text box and a search submit button, and when user clicks the Search submit button, I want to redirect user to url http://testsearch/results.aspx?k=<value of text box k>
, for example, if user put "StackOverflow" into text box and then clicks the search button, I want to redirect user to the following page, any solutions?
http://testsearch/results.aspx?k=StackOverflow
<input type="text" id="k" name="k" />
<input type="submit" id="Go" value="Search" />
thanks in advance, George