I am using YUI 2 autocomplete, I have my own web service which provides suggestions.
Whenever user enters ” ” (space) then suggestions were not displayed. Like if user enters “foo bar” then suggestion are displayed till “foo” but once user enters ” ” then suggestion are not displayed.
I checked the Ajax calls and observed that space is replaced by “%20“. So after space each Ajax call contains “%20” and that’s why no records are retrieved from database.
I tried setting space as delimiter.If we use space as delimiter then it will show suggestions for new term (which user typed after space). Like if you enter “foo bar” then after space it will show suggestion for “bar” while I want suggestions for complete “foo bar” term.
I want to display suggestion for complete term whatever user had typed including space.
Is there any way to handle this in YUI ?
I am using YUI 2 autocomplete , I have my own web service which
Share
Encoded URL by overriding
generateRequestmethod and it worked 🙂