I have a combo box and drop down items are coming like:
<select name="combo1" id="combo1">
<option value="a">A</option>
<option value="b">B</option>
</select>
But i want that this above combo box should behave like a textbox when user has not put mouse cursor on that combo box. But when user will put the cursor on that textbox, immediately that textbox will behave like a combo box(like above combo) and drop down items will come. How is it possible? Any help
You can use the following code to get the autocomplete onfocus of input tag:
html code:
Jquery:
For Reference:
http://jsfiddle.net/Tpz2X/
Hope this helps you 🙂