?
Solved

How to AutoTab to Next Text Box When Specific Length of Data is Entered

Posted on 2012-04-03
3
Medium Priority
?
500 Views
Last Modified: 2012-04-03
I am new to web developing, and I am writing a new ASP .NET page that will require 3 text boxes to be able to auto tab to the next box after a specific amount of characters are entered. For instance, take a phone number. If a user were to enter "123" and then "456" and then "8910", how would one go about having the next text box automatically tabbed to without the need of the user to do it? (I need to know how to complete this on both an ASP .NET page, using JavaScript, and using the code behind. Any help would be greatly appreciated.)
0
Comment
Question by:thenthorn1010
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 12

Expert Comment

by:Pra4444
ID: 37802020
Here is a simple example that does what you are looking for.

http://geekswithblogs.net/PartialMethod/archive/2009/01/26/auto-tab-with-jquery.aspx

Thanks.
0
 

Author Comment

by:thenthorn1010
ID: 37802406
Pra4444,

Thanks for the quick reply. I did look over the example, but is there a way to use JavaScript by itself in order to accomplish this? I have a request to complete this without adding JQuery to a site that I am building.

Thanks.

thenthorn1010
0
 
LVL 12

Accepted Solution

by:
Pra4444 earned 2000 total points
ID: 37802698
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question