增加TextBox的 TextChanged事件
private void textBox1_TextChanged(object sender ,EventArgs e)
{
if(this.textBox1.Text.Trim().Length >=14)
{this.textBox2.Focus();}
}
如果按tab键就设置tabindex 如果写满14个字符就跳转的用js
document.getElemntById('id').focus()
onchage 里面写个js判断下,长度到14了,textbox2获得焦点