How do I do Textbox Submit
- by Newb
Hello everyone,
I have a search box and a buttion. currently a user enter some text and press the search button. But I want to add another feature that instead of clicking the search button people can hit enter to search. How can I do that?
Here is my code sample:
<form method="post" action="">
<input id="search" name="search" type="text" />
<input id="search_btn" name="search_btn" type="submit" />
</form>
Thanks in advance