<script type="text/javascript" language="javascript"> 

 // 주민번호 포커스 이동
    function fnCheckLength()
    {
        if(document.getElementById("<%= txtJumin1.ClientID %>").value.length == 6)
        {
            document.getElementById("<%= txtJumin2.ClientID %>").focus();
        }
    }

</script>



<body>

<asp:TextBox ID="txtJuMin1" MaxLength="6" TextType="Number" runat="server" onKeyUp="fnCheckLength();" ></asp:TextBox>
                -
<asp:TextBox ID="txtJumin2" MaxLength=7" TextMode="Password" TextType="Number" runat="server"></asp:TextBox>

</body>




Posted by holland14
: