Can you remove search form’s button?
-
I would like to change the search form so that there is no button but I can’t make it work right.
Basically I want my search form to be a text box where users would type something and then press enter to activate the search. How would I change the code to do this? Is that even possible?
<form method="get" id="searchform" action="<?php bloginfo('home'); ?>/"> <input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /> <input type="submit" id="searchsubmit" value="Search" /> </form>
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Can you remove search form’s button?’ is closed to new replies.