![]() |
Html datalist does not work?
Dear Friends,
I Hope you are all fine. Friends,Here is a problem in HTML datalist,it does not work in old browsers.What did can I do for fix this problem.:confused:Here is a code. Code:
<body> |
See, that’s why HTML 5 is called a “working draft” and not “official recommendation”. One solution would be to use a
select rather than a text input with datalist. After all, I don’t see the point anyway, to use a text input when the answers are a fixed set of options already. |
I can not understand what are you saying?:(
|
I’m saying:
Code:
<label>What is your favorite color? |
This is not my question:mad:
I say that here is a code which is work well in google chrome and firfox new version but it can not work in IE or firfox old version. This is a code. Code:
<!doctype html> |
I’m sorry, the code I provided is the solution which works in all browsers. What you have is HTML 5 which is not an official standard (yet) and, as you see, obviously not supported in all major browsers. And even if this solution doesn’t satisfy you, there is no reason to raise your voice like that because pushing buttons makes people even less willing to help you.
So, again: go with a select element and you’re all safe. As I said, there is no point in using a datalist in this context if the option are given anyway. |
| All times are GMT +1. The time now is 04:03 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.