[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2012-04-03
3
Medium Priority
?
506 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
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

656 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