Excellent script. I was wondering if there would be a way to modify it to do typeahead for <optgroup> tags instead of <option> tags. I have a long long list of option groups with 3 or 4 options per group and the typeahead functionality would be immensely useful. Any thoughts or input would be appreciated.