Bootstrap 3.1.0 Snippet by harshalone

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <form class="form-horizontal"> <fieldset> <!-- Form Name --> <legend>Search Event</legend> <!-- Text input--> <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Event type</label> <div class="col-md-8"> <input id="textinput" name="textinput" type="text" placeholder="Search for (e.g. music, networking)" class="form-control input-md"> <span class="help-block">Search for (e.g. music, networking)</span> </div> </div> <!-- Text input--> <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Location</label> <div class="col-md-8"> <input id="textinput" name="textinput" type="text" placeholder="Enter a location" class="form-control input-md"> <span class="help-block">Enter a location (e.g. Liverpool)</span> </div> </div> <!-- Button --> <div class="form-group"> <label class="col-md-4 control-label" for="singlebutton">a</label> <div class="col-md-4"> <button id="singlebutton" name="singlebutton" class="btn btn-default">Search</button> </div> </div> </fieldset> </form>

Related: See More

Questions / Comments:

Trying to find a dropdown search combo able to auto-find similar to Google, either Bootstrap based or JQuery - any out there ? I'll provide a large list of selections from the backend, the front end can then auto-match and reduce the choices as the user keeps typing.

ellayararwhy () - 5 years ago - Reply 0