I am building my own custom search with google search api.
How can I style the popup which shows when selecting an input box ?
Its some sort of search-input history popup.
I guess this may be only possible via jquery. But I dunno how this element is called.
Asked
Active
Viewed 153 times
0

andibra
- 153
- 4
- 15
2 Answers
0
You can't style a history-complete dropdown. It's implemented differently on different browsers.
You can hide it if it doesn't match your site's design, by using autocomplete="off"
See duplicate question.

Samuel Liew
- 76,741
- 107
- 159
- 260
0
As Samuel Liew's answer indicates, this is browser functionality that you can't style. If you just don't want to show it, use autocomplete="off"
. If you really want the functionality and you really need it to be styled, you'll have to roll your own, for example by storing a list of the user's previous inputs in a session or cookie value and using it to populate a list that you generate manually when the user enters text.

AmericanUmlaut
- 2,817
- 2
- 17
- 27
-
Thanks to both of you. I would have been searching forever. – andibra Feb 07 '13 at 06:08