ffej2ffej Posted June 4, 2013 Share Posted June 4, 2013 I would swear I have seen an input type that was somewhere between a plain ol' text box and a select. In other words, the user could choose from the drop-down list or, if their choice was not found in the list, they could type in whatever they wanted. Is there such a control? I spent some time on http://w3schools.com looking for this, but found nothing. Link to comment Share on other sites More sharing options...
jeffman Posted June 4, 2013 Share Posted June 4, 2013 What you're describing is a combo box. HTML doesn't have one. Some operating systems have one, but not all, so they cannot all support such a feature. You can sort of duplicate the behavior yourself using javascript. Some libraries also have a similar thing. Google combo box. Link to comment Share on other sites More sharing options...
dsonesuk Posted June 4, 2013 Share Posted June 4, 2013 <datalist> ? http://w3schools.com/html/html5_form_elements.asp Link to comment Share on other sites More sharing options...
jeffman Posted June 4, 2013 Share Posted June 4, 2013 (edited) Yeah, I spoke too soon when I said there isn't such a thing. But the compatibility issues should not be ignored if the functionality is essential. Edited June 4, 2013 by Deirdre's Dad Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now