Can someone please look at this and tell ,me why the AutoSuggest asp-vb code does not work!
Well, I figured it out, it was an ID Ten T (or Id10t) problem. Note the "kingcup' double and single quote mix!!!
Change to double code and problem is fixed.
By the way either 'kingcup' or "kingcup" will work
NOTE: In the original code that can be copied it has "kingcup' in it !!
Dmitri : If you have a chance, please correct the entry
I've got auto-suggest working perfectly. It's great. I can use multiple text fields without any problems, except when I put the field within a form.
This is test code that works for the built-in array and for server side auto-suggest. Works perfectly in both cases.
When I had this working, I'd thought that I would have no problems getting this into real code.
var customarray = ["apple", "alligator", "banana", "elephant",
"pear", "kingbird", "kingbolt", "kingcraft",
"kingcup", "kingdom", "kingfisher" ];
var obj = new autosuggest("tb", customarray);
var obj = new autosuggest("tb2", "", "http://127.0.0.1/autosuggest.wsgi/?field=npi&s=");
For whatever reason, auto-suggest is not reading in the strings from the fields when it's in a form.