2013-07-25, 04:14 AM
I have a search bar built into my menu and it won't search. I don't know what codes to add inside here to make it search after because there's no links. Can anyone help me?
Search Bar HTML Code:
Update:
I fixed the code a little I think but it's not searching the terms I entered into the search box. Any suggestions?
Search Bar HTML Code:
<li class="nav-search">
<form action="#">
<input type="text" placeholder="Search...">
<input type="submit" value="">
</form>
</li>
Website: http://ComingSoon.VisualizeEdits.com/Update:
I fixed the code a little I think but it's not searching the terms I entered into the search box. Any suggestions?
<form method="post" action="search.php">
<input type="text" value="Search..." onblur="if(value=='') value = 'Search...'" onfocus="if(value=='Search...') value = ''" />
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="submit" value="">
</form>