Some code I pulled together build a fast search for a select element.