0
How to Search and select value for select input?
I have 1000+ options for my select input so that I wanted to sort while select the option.
5 Answers
+ 5
Attach a link to your code, there is no need to write code fragments, in comments it is very inconvenient to check.
+ 3
Do you mean to add fields for different data? or add a data validator to existing fields?
0
Hi
Kindly check the below code for reference. I have 1000 options inside my select input. I need to search and select option while click the select input tag.
<select name="data">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
.
.
.
<option value="1000">1000</option>
</select>
0
You are need use changed event.
See this https://www.w3schools.com/jsref/event_onchange.asp
0
I got output using datalist option. Thanks.