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
Solved

jquery autocomplete widget functionality

Posted on 2013-06-19
1
296 Views
Last Modified: 2013-06-25
Hi experts,

I'm using ASP.NET, VB , Visual Studio 2010 and SQL Server.

I'm using the jQuery Autocomplete widget
http://jqueryui.com/autocomplete

I already know how to use the Autocomplete widget by using a Web Service that queries a Sql Server table and returns json data which is the data source for the Autocomplete widget.


I'm not an expert with the Autocomplete widget so I just had a question about the functionality of it.

My question pertains to an autocomplete that looks like the image below

my desired functionality for my autocomplete widget
If I have my autocomplete widget that returns 9 digit userids that are integer type like the image above.

When one of the userids are chosen from the autocomplete.
Then the selected 9 digit userid is placed in the autocomplete widget textbox.

Also I have three blank asp textboxes sitting there on the page.
When I select a userid from the autocomplete,
the first 3 digits of my selected userid are placed in textbox1, and digits 4,5 and 6 from my selected userid are placed in textbox2 and digits 7,8,9 are placed in textbox3

Is it possible to do something like this with the autocomplete widget?

or

If not, do you know if it's possible to do it with the AutoComplete and the AutoCompleteExtender control that comes with ASP.NET AJAX Control Toolkit?


Does anyone know a link to an example  on the web for something similar to what I described above for either using either of these two methods?
0
Comment
Question by:maqskywalker
1 Comment
 
LVL 8

Accepted Solution

by:
johny_bravo1 earned 500 total points
ID: 39258655
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
The viewer will learn how to dynamically set the form action using jQuery.
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…

856 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