+ Start a Discussion
learning1.3953795511514497E12learning1.3953795511514497E12 

Autocomplete textbox in visualforce page

Hi,

How to implement autocomplete lookup in visualforce page.
I have come across many links where the autocomplete is shown with standard object. But in my case i need to do with webservice call.
i.e When i start typing in input textbox , after typing atleast 3 characters it should hit the webservice call.


Thanks.

Best Answer chosen by learning1.3953795511514497E12
learning1.3953795511514497E12learning1.3953795511514497E12
Thanku Digamber,

I have used the following ...
http://www.shivasoft.in/blog/salesforce/ajax-based-autocomplete-component-in-salesforce-using-jquery-ui-and-json/ and worked good for me.

All Answers

digamber.prasaddigamber.prasad
Hi,

If you are open to use some js library, then http://ivaynberg.github.io/select2/ is really very helpful. I have personally used it in one of my application.

Regards,
Digamber Prasad
learning1.3953795511514497E12learning1.3953795511514497E12
Thanku Digamber,

I have used the following ...
http://www.shivasoft.in/blog/salesforce/ajax-based-autocomplete-component-in-salesforce-using-jquery-ui-and-json/ and worked good for me.
This was selected as the best answer
Arun Garg 9Arun Garg 9
 Best Solution of JQuery Autocomplete in Visualforce page (http://www.salesforceadda.com/2017/08/autocomplete-in-salesforce-using.html)