hi,
i'm using yahoo autocomplete from an input field and jquery to detect
keystroke to trigger function. Everything works fine with the enter
key, but it doesn't work for the tab key (both firefox/navigator and
ie).
Here's my code:

$("#ysearchinput").keyup(function(e){
                if(e.keyCode==13){    //    (e.keyCode==9)   doesn't trigger
anything
                        taglia();
                }
});

I also tried with blur and it works fine in firefox/navigator but not
in ie it looks like it calls the function twice
$("#ysearchinput").blur(function(){
                taglia();
});


A page where you can check this

http://www.azero.dyndns.org/web/registrazioni/temp_registrati.php

Go to the second fieldset, check the italia radiobutton and fill the
"Ricerca la località" input field. Choose a place trying with the
enter key, the tab key and clicking with the mouse the see the
difference.

Any idea why ie works like this?
Thanks vitto

Reply via email to