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.

10th Nov 2019, 2:12 AM
ANBARASAN R
ANBARASAN R - avatar
5 Respostas
+ 5
Attach a link to your code, there is no need to write code fragments, in comments it is very inconvenient to check.
10th Nov 2019, 5:40 AM
Anna/Аня
Anna/Аня - avatar
+ 3
Do you mean to add fields for different data? or add a data validator to existing fields?
10th Nov 2019, 5:22 AM
Anna/Аня
Anna/Аня - avatar
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>
10th Nov 2019, 5:30 AM
ANBARASAN R
ANBARASAN R - avatar
0
You are need use changed event. See this https://www.w3schools.com/jsref/event_onchange.asp
10th Nov 2019, 5:55 AM
Эрик Грэф
Эрик Грэф - avatar
0
I got output using datalist option. Thanks.
13th Nov 2019, 2:40 PM
ANBARASAN R
ANBARASAN R - avatar