开发者

Matching single character word with Scriptaculous Autocompleter

开发者 https://www.devze.com 2023-01-13 17:09 出处:网络
I\'m using the Scriptaculous Autocompleter to search a set of film titles but it\'s not matching single character titles such as \"M\" even though it starts searching after开发者_JS百科 one character

I'm using the Scriptaculous Autocompleter to search a set of film titles but it's not matching single character titles such as "M" even though it starts searching after开发者_JS百科 one character has been entered. Any help would be really appreciated, thanks!


If you can see your Ajax request firing then the odds are that your issue is with your server side-script. 1 char is the default amount with Ajax.Autocompleter so that wouldn't be the issue. It could be that you are using a searching algorithm in your server side script that requires more than 1 character. For example, MySQL fulltext has a default minimum character limit of 4 characters.

0

精彩评论

暂无评论...
验证码 换一张
取 消