function fun1(){ $("#autocomplete1").autocomplete({ source: "/admin/spendu/action/scripts/getCars.php" }); }
<style> .ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; } </style>