based on patterns!
look at the simple guy’s answer
what you need, my friend, is the jQuery UI’s autocomplete.
by the way, this is the class to get rid of that ugly blue hover state for the dropdown:
for when you need to control what’s after those decimals, use toPrecision
SELECT * FROM db_name
the .css file will be sufficient for font-family