Click to See Complete Forum and Search --> : form post and submit


themanwhowas
08-19-2006, 04:14 PM
<form action="http://www.blahblah.com/search/search.php" method="get">

<input name="query" type="text" style="width: 180px" />

<input type="submit" value="submit" /></p>

</form>

this form allows my user to submit a search query then directs them to the search page with the search box already filled in. great. the problem is that the search is not performed and the user still needs to click the 'go' button. how can i make it so the search is performed please? i havent done a form like this in a while

ray326
08-19-2006, 06:20 PM
Something like so.

<body onload="document.getElementById('theform').submit()">
<form id="theform">