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=<
http://testsearch/results.aspx?k=<
make sure you got the input's in a form tag with a GET method:
... inputs