Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
114
rated 0 times [  116] [ 2]  / answers: 1 / hits: 49944  / 10 Years ago, mon, december 15, 2014, 12:00:00

I have a datalist tag which allows my users to have a suggestion box. However, I've noticed that this feature is not supported in safari. Is there a workaround to this issue?



Here is my code - I'm actually populating my values with an ajax method but this is what it would look like after it's populated:



<datalist id=languages>
<option value=HTML>
<option value=CSS>
<option value=JavaScript>
<option value=Java>
<option value=Ruby>
<option value=PHP>
<option value=Go>
<option value=Erlang>
<option value=Python>
<option value=C>
<option value=C#>
<option value=C++>
</datalist>

Search:
<input type=text list=languages>


I also have a fiddle here


More From » css

 Answers
12

Datalist elements are not supported in Safari. http://caniuse.com/#feat=datalist


[#68478] Friday, December 12, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
myakylas

Total Points: 66
Total Questions: 85
Total Answers: 95

Location: Guadeloupe
Member since Sat, Aug 22, 2020
4 Years ago
myakylas questions
Thu, Apr 28, 22, 00:00, 2 Years ago
Thu, Apr 8, 21, 00:00, 3 Years ago
Sat, Sep 19, 20, 00:00, 4 Years ago
;