Is there a way to customize an input type=text element to appear as a dropdown? Currently, I have a text box that, when clicked, displays options using jQuery and a div. I want the text box to include a dropdown icon to mimic a traditional dropdown menu.
Furthermore, since different browsers offer different dropdown icons, is it possible to utilize the browser's default dropdown icon?
Note: I need to add some CSS to the option values before displaying them, which is not possible with a standard dropdown menu. This is why I am using a div and jQuery to display the options.