<div class="ui-widget"> <input type="text" id="nama_forpromotor" name="nama_promotor" class="form-control"> <span class="help-block with-errors"></span> </div> $( ".ui-widget #nama_forpromotor" ).autocomplete({ source: "/caripromotor", minLength: 2, }); // if not z-indexed, the dropdown doesn't show .ui-autocomplete { z-index: 99999; }