"search"
Bootstrap 3.1.0 Snippet by harshalone

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<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>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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 () - 9 years ago - Reply 0