It turns out that I'm doing a search menu, but the connection to the jQuery does not work to hide the content of it. When I look at the Google Chrome console, the following errors appear:
jquery-3.3.1.min:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
dataTable.min:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
buscador.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
What could I have wrong?
This is my HTML code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Practica</title>
<script src="js/jquery-3.3.1.min"></script>
<script src="js/dataTable.min"></script>
<link rel="stylesheet" type="text/css" href="estilos.css">
</head>
<body>
<header>
<div class="header-top">
<div class="navegacion">
<input type="search" placeholder="Buscar..." id="inputBusqueda">
</div>
</div>
<div class="search" id="search">
<table class="search-table" id="searchTable">
<thead>
<tr>
<td></td>
</tr>
</thead>
<tbody>
<tr>
<td><a href=""><em>Practica</em></td></a>
</tr>
<tr>
<td><a href=""><em>Msyql</em></td></a>
</tr>
<tr>
<td><a href=""><em>C++</em></td></a>
</tr>
<tr>
<td><a href=""><em>HTML</em></td></a>
</tr>
<tr>
</tr>
</tr>
</tbody>
</table>
</div>
</header>
<div class="wrap">
</div>
<script src="buscador.js/js"></script>
</body>
</html>
This is my JQuery code:
var consulta= $ ("#searchTable").DateTable();
$("#inputBusqueda").keyup(function){
consulta.search($(this).val()).draw();
})