+ 20

How does datalist and option works?? Is this not work in @sololearn ?

I am trying hard to make a input which shows option but it's not working.

16th Jul 2020, 12:45 PM
ANMOL
ANMOL - avatar
5 Réponses
30th Sep 2020, 8:57 AM
ANMOL
ANMOL - avatar
+ 9
Abhay I saw that when I am opening it with Chrome it's working . And it's not working in sololearn
1st Oct 2020, 4:11 AM
ANMOL
ANMOL - avatar
+ 8
Abhay this is my code it's not working why <input id="car" type="text" list="colors" /> <datalist id="colors"> <option value="Red"> <option value="Green"> <option value="Yellow"> </datalist>
30th Sep 2020, 6:18 AM
ANMOL
ANMOL - avatar
+ 4
Can you show the code ,so we can better understand your problem and provide help
16th Jul 2020, 12:47 PM
Abhay
Abhay - avatar
+ 2
ANMOL works fine for me.Can you exactly tell what you are expecting it to do ?
30th Sep 2020, 7:39 AM
Abhay
Abhay - avatar