Posts

Showing posts with the label autocomplete

Salesforce Combobox Autocomplete in IE8 using jQuery

Image
Creating a Combobox Autocomplete Input Field Compatible with Internet Explorer 8+ using jQuery Issues with Built-in Combobox functionality in Visualforce If you try to use the off-the-shelf apex tag to using a inputText field to create a combobox by passing in a list of comma-separated values you will get a nasty surprise when you try to open the page in Internet Explorer. Even though IE is officially supported, it will not display correctly. Apex Default Combobox Tag <apex:inputtext list="{!getAccounts}" value="{!accountName}"></apex:inputtext> A great way to get around this limitation is to use the jQuery combo box. The jQuery combo box is not a standard widget and will not be packed into the jQuery UI by default, but you can configure it with a reasonable amount of code. You will need the following libs: jQuery javascript library - jQuery jQuery UI javascript library - jQuery UI Avoid conflicts wit...