General Form Question
I know I'm going to feel really stupid after asking this...here it goes.
I have a form. It's very simple and it uses <button type"submit"...
It's used to send user to the search page. When I enter text and click the enter key, it work (sends to page and populates the GET). If I actually click the "SEARCH" button, it fails.
If I use input type="submit", it works both ways. What is tripping me up here?
<form action="searchpage.php" method="GET">
<input type="text" name="name" id="sprodtxt">
<button type="submit">SEARCH</button>
</form>
<!--<input type="submit" name="Search" id="Search" value="Search" alt="Search" />-->