JQuery autocomplete from DB in spring boot and Thymeleaf
this is my template: <!-- JavaScript --> <link rel="stylesheet" href="https://code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css"> <script src="https://code.jquery.com/jquery-3.7.1.js"></script> <script src="https://code.jquery.com/ui/1.13.2/jquery-ui.js"></script> <script src="https://code.jquery.com/jquery-3.7.1.slim.min.js" integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/2.11.8/umd/popper.min.js"></script> <script type="text/javascript" > $( function() { $( "#hint" ).autocomplete({ source: "https://api.nunyito.com/api/geoDetailsForWeb", minLength: 3, select: function( event, ui ) { alert('hi');…