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
[email protected]
http://jquery.com/discuss/

Reply via email to