Twitter Bootstrap 2.1.1 Double Typeahead
HTML
<script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/css/bootstrap.min.css">
<div>Cnty:
<input type="text" class="input-block-level required typeahead" id="county" name='county' placeholder="Local County" />
<div>
CSS
body {
padding: 40px;
}
JavaScript
$("#county").typeahead({
source: ["Apache", "Cochise", "Coconino", "Gila", "Graham", "Greenlee", "La Paz", "Maricopa", "Mohave", "Navajo", "Pima", "Pinal", "Santa Cruz", "Yavapai", "Yuma"]
});