<footer class="w3-cell-row"> <div class="w3-container w3-cell w3-mobile"> <h3>Rechercher un contenu</h3> <input id="footersearch" type="text" class="search-query search_input" placeholder="Rechercher..."> <script> /// CUSTOM DIRTY CODE TO GO TO SEARCH PAGE var $footerSearch = document.getElementById("footersearch"); $footerSearch.addEventListener("keyup", function(k) { if (k.code == 'Enter') { var $footerSearch = document.getElementById("footersearch"); var footerSearchString = $footerSearch.value; console.log("pressed enter") document.location.href = "http://127.0.0.1:1111/search/?s=" + footerSearchString; } }); </script> </div> <div class="w3-container w3-cell w3-mobile"> <h3>Vous voyez une erreur ?</h3> <a class="w3-button" href="#">Contribuer sur Gitlab</a> </div> <div class="w3-container w3-cell w3-mobile"> <ul> <li><a href="#">Licence</a></li> <li><a href="#">Qui sommes-nous ?</a></li> <li><a href="#">Contact</a></li> <li><a href="#">Financements</a></li> </ul> </div> </footer>