I have a search form
<form id="search" method="GET">
<input type="text" name="q" id="q" />
<input type="submit" value="search" name="submit" id="submit" />
</form>
and when I submit it it adds ?q=&submit=submit to the URL is there a way that I can keep it from appending submit=submit but still pass the q=?
If you remove the
nameattribute from your<input type="submit" />then that should get rid ofsubmit=submitfrom the querystring (a quick test in Firefox / Firebug confirmed this). For example: