Please see this fiddle: http://jsfiddle.net/yg49k/
The following code works fine in FireFox but doesn\'t work in the latest version of Chrome.
HTML:
$("#one").keydown(function(){ if($(this).val().length==2) { $("#two").focus(); } });