Ok - I got it.
jQuery("#<%=txt1.ClientID %>").keyup(
function changefocus() {
if (jQuery("#<%=txt1.ClientID %>").val().length >= jQuery("#<%=txt1.ClientID %>").attr('maxlength'))
jQuery("#<%=txt2.ClientID %>").focus();
});
jQuery("#<%=txt2.ClientID %>").keyup(
function changefocus() {
if (jQuery("#<%=txt2.ClientID %>").val().length >= jQuery("#<%=txt2.ClientID %>").attr('maxlength'))
jQuery("#<%=txt3.ClientID %>").focus();
});