I am looking some help on how to search with option value instead of option name.
Here is the example:
<select name="example" id="example">
<option value="1">A</option>
<option value="2">B</option>
<option value="3">C</option>
<option value="4">D</option>
<option value="5">E</option>
<option value="6">F</option>
</select>
I want to search with value 1 or 2 or 3 etc not with the A,B,C,D,E..
Any help in this regard is much appriciated or any library which has such functionality.
Thanks
You should listen to the event on the change of
exampleYou get the value of the selected option like below