View Full Version : Text Changin Event

01-21-2009, 08:03 AM
Hai Everyone

I'm creating web application in asp.net using vb.net. I have two textboxes txtbox1, txtbox2 respectively. In txtbox1, as and when I entered two characters, the cursor should automatically moved to txtbox2. help me out....

Thanks in Advance

01-21-2009, 08:07 AM
<input type="text" onkeypress="if(this.value.length>=1) document.getElementById('inp2').focus()">
<input type="text" id="inp2">

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum