<div class="btn-toolbar search-dropdown" style="float:left;margin-right:10px;">
<div class="btn-group">
<button class="btn btn-small">All Types</button>
<button data-toggle="dropdown" class="btn btn-small dropdown-toggle"><span class="caret"></span>
</button>
<ul class="dropdown-menu" id="search-type">
<li>
<label class="checkbox">
<input type="checkbox" name="tv" value="TV">TV</input></label>
</li>
<li>
<label class="checkbox">
<input type="checkbox" name="movies" value="Movies">Movies</input></label>
</li>
</ul>
</div>
</div>
That's because <button>
elements submit their own form by default - they inherit the type="submit"
attribute.
If you don't want 'em to do so, add the attribute type="button"
, so it will become a normal button.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With