2
I have several Checkbox
<div class="checkbox">
<label>
<input type="checkbox" class="chkItem" name="Selected" value="1" /> A
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" class="chkItem" name="Selected" value="2" /> B
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" class="chkItem" name="Selected" value="3" /> C
</label>
</div>
How do I create a "Search" search for the letter "C" for example and hide all other checkbox ?
I don’t understand what you really want to do
– Thallyson Dias
@Thallysondias, I have many checkbox, I just wanted to make a filter with an input,for the user to fetch what he wants, leaving "Hide" all the others, and giving show only on what he sought
– Rod
What is your goal? Click on
checkbox C
and hide others? Is clicking and searching for letters "C" in a text? Is it cursing all people on Facebook with names that contain the letter "C"? : Q. You can specify your question a little more?– gabrielhof
@gabrielhof explained in the above comment
– Rod
Is it something like that? http://jsfiddle.net/h5z7zxod/
– gabrielhof
@gabrielhof, thanks for the help but that’s not it, I have 100 Checkbox, like the above, I want to put an input text to search only the "C" for example
– Rod