Reputation: 3891
I am using a html form to with a get method to submit information to another page
<form name="test" action="gallery.html" method="get">
<div class="searchbar">
<div class="tb-artist">
<input id="artist" type="text" class="tb-artist-a" />
</div>
<input type="submit" value="submit" class="searchbutton" />
</div>
</form>
It visits the gallery page but doesnt append on the information, why doesnt it just work
just figured it out, im using id instead of name
Upvotes: 1
Views: 97
Reputation: 545568
You need to assign a name
to your input:
<input id="artist" name="artist" type="text" class="tb-artist-a" />
Upvotes: 1