Around line 310 of iautocompleter.js there is a line like this:

if (/13|27|35|36|38|40|9/.test(pressedKey) && jQuery.iAuto.items) {

While keycode 9 is the enter key, the regex there also matches for any
other keycode with a 9 in it. I know there's a nice looking regex way
to fix this but it's Saturday night and I'm fixing it now with this:

if ((/13|27|35|36|38|40/.test(pressedKey) || pressedKey == 9) &&
jQuery.iAuto.items) {

Peter
http://www.vulgarisoip.com

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to