Jump to content

an input type that is like an <input type=text and a <select?


ffej2ffej

Recommended Posts

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

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

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 by Deirdre's Dad
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...