$("#month").keypress( function(){
        len = $(this).val().length;
        if(len > 1){ document.form_register.day.focus(); }
    });

working on IE 6... =) enough for my lazy client who doesnt even know about the existence of another browser besides IE. lol

2006/10/23, Rafael Santos <[EMAIL PROTECTED]>:
hey guys, could u help me?

this is my lines:
$("#month").keypress( function(){
        len = $(this).val().length;
        if(len == 1){ document.getElementById("day").focus(); }
    });

this firebug give me an error.

if(len == 1){ $("#day").focus(); }

this do nothing...

what am i doing wrong

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

Reply via email to