1
Colleagues.
I’m using the Adminlte template for a project, but on one of the pages I want to put an autocomplete API for the searches. The problem is that when I put this API that has a jquery reference inside its folder, the menu stops working and when I take the API or its reference to Jquery, the menu works again, but the API no longer works. I have already changed positions and the conflict remains. Anyway, someone would know how to resolve this impasse between these codes. See below:
Adminlte
<!-- jQuery 2.2.3 -->
<script src="plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- jQuery UI 1.11.4 -->
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
Autocomplete
<script type="text/javascript" src="jquery-autocomplete/lib/jquery.bgiframe.min.js"></script>
<script type="text/javascript" src="jquery-autocomplete/lib/jquery.ajaxQueue.js"></script>
<script type="text/javascript" src="jquery-autocomplete/lib/thickbox-compressed.js"></script>
<script type="text/javascript" src="jquery-autocomplete/jquery.autocomplete.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#txtNome").autocomplete("buscar-escola.php", {
width:310,
selectFirst: false
});
});
</script>
Thanks Kenny Rafael.
– user24136