You need to sign in to do that
Don't have an account?

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>
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