|
|
 Prize winner in Competition
"Best ASP.NET article of Jul 2007"
Comments and Discussions
|
|
 |
|

|
Nice work...
|
|
|
|

|
the lastest version works like magic both in IE6 and firefox. I use client side array with more than 100,000 elements!! works resonably fast... Thanks to the author!!!!
|
|
|
|

|
I've got 8 choices only, so I would like the suggestions to show up at the onFocus event. How would I do this?
|
|
|
|

|
That is I don't want to have to type a character for the suggestions to show. . .
|
|
|
|
|

|
hello.
I'm not good at English,but I'm trying to describe it clearly,please keep pacience.
the suggestion never appear when I type something such as "abc" in the field,but when I delete them all with "backspace" key quickly it appears.it will not appear if I delete them slowly.I test it with IE and firefox,they are same result.
another question:it seems the start_check never works when I use ajax fetch data.it gets data when I input the first character despite I set it like this:
this.start_check = 2;
it will overload the server.
here is the demo:http://121.63.222.140/tickets/index_ajax.html[^]
thank any ideas.modified on Sunday, March 7, 2010 6:21 AM
|
|
|
|

|
I get it.
just because this script will filter the return data got from webserver again.
thank Dmitry Khudorozhkov and zichun for sharing this.
|
|
|
|

|
For sorting the display list i am using the following code.
in the suggest function, add the following code before concatenating the arrays,
//Sorting the matching array
var arrOpts = new Array();
for(i=0; i<matchArray.length; i++)
{
arrOpts[i] = new Array(3);
arrOpts[i][0] = matchArray[i].toLowerCase();
arrOpts[i][1] = matchArray[i];
arrOpts[i][2] = matchVArray[i];
}
arrOpts.sort();
for(i=0; i<matchArray.length; i++)
{
matchArray[i] = arrOpts[i][1];
matchVArray[i] = arrOpts[i][2];
}
//
//rest of the code continues here
this.keywords = matchArray.concat(afterArray).concat(otherArray);
this.values = matchVArray.concat(afterVArray).concat(otherVArray);modified on Thursday, February 18, 2010 12:16 AM
|
|
|
|

|
Hey, is it possible to use the control in an asp.net gridview ? please advice .. :(
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
This article presents code that augments any INPUT box with an auto-suggest feature, AJAX-capable
| Type | Article |
| Licence | Zlib |
| First Posted | 24 Aug 2007 |
| Views | 370,974 |
| Downloads | 1,759 |
| Bookmarked | 197 times |
|
|