i want to change the content of my Searchbox when the checkBox is checked.
So i got following checkboxes:
<li><label style="margin-left:20px">Bars: <input type="checkbox"></label><li>
<li><label style="margin-left:20px">Clubs: <input type="checkbox"></label><li>
And this is my input field "Searchbox"
<input id="pac-input" class="controls form-control" type="text" placeholder="Search Box">
When no checkbox is activated the SearchBox is clean.
Iam searching for a possibility to change the content of my checkbox to Bars when the Bars checkBox is activated and i want to change it to Clubs when Clubs checkBox is activated.
Aucun commentaire:
Enregistrer un commentaire