function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kannapapikannapapi 

JQuery AutoComplete working in Chrome but not in IE and Firefox


<script type="text/javascript">
        var jq = jQuery.noConflict();
        var apexAccountList =[];                
        <apex:repeat value="{!listofname}" var="namList">       
            apexAccountList.push('{!namList.Name__c}');      
        </apex:repeat>
        console.log(apexAccountList+'hi');
     
        //on Document ready
        jq(document).ready(function(){
            jq(".brandautocomplete").autocomplete({
                source : apexAccountList
            });
        }); 
    </script>
PratikPratik (Salesforce Developers) 
Hi Kannapapi,

You can refer to these posts:

http://salesforce.stackexchange.com/questions/8572/jquery-in-visualforce-does-not-work-in-firefox

https://developer.salesforce.com/forums?id=906F00000008rElIAI

Thanks,
Pratik