skip to Main Content

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');…

VIEW QUESTION

Jquery – why my modal has no content but if i reload it has content

this is the home page of my website where the modal doesn't work, can someone answer this bug that I've been encountering for days <title>Home</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"/> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css"/> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> <!-- Alertify sakit…

VIEW QUESTION
Back To Top
Search