How do I set the text fields to automatically tab to the next text box?

Sujatha Gopal

<HTML>
<script>
function f1()
{
var num = txtArea.value;
if((num.length)==txtArea.maxLength)
txtPhone.focus();
}
</script>
<BODY>
<INPUT id=txtArea name=txtArea maxLength=3 onkeypress="return f1();">
<INPUT id=txtPhone maxLength=4 name=txtPhone>
</BODY>
</HTML>

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact