i'm new in jquery and i have a probleme when trinig to show searche field and organisation butom of the pluginwiche to integrate datatable in my source code, and i'm not sure of integration of js and css file link.
here is my source code of table
<div class="table responsive ">
<table id="datatable" class="table table-condensed table-striped table-hover no-margin display" cellspacing="0" width="100%">
<thead>
<tr class="table-danger">
<th>Nom</th>
<th>Prenom</th>
<th>Structure</th>
<th>Email</th>
<th>Date rec</th>
<th>RC</th>
<th>Matricule</th>
<th></th>
<th></th>
</tr>
</thead>
<?php
if (strcmp($affectation,'DSI')==0)
{
while($query2=mysqli_fetch_array($query1))
{
echo "<tbody><tr><td>".$query2['name']."</td>";
echo "<td>".$query2['prenom']."</td>";
echo "<td>".$query2['affectation']."</td>";
echo "<td class=\"col-xs\">".$query2['email']."</td>";
echo "<td>".$query2['date_rec']."</td>";
echo "<td class=\"text-DANGER\">".$query2['nbr_rc']." Jours</td>";
echo "<td>".$query2['matricule']."</td>";
echo "<td> <a class=\"btn btn-primary btn-xs green pull-center\" href='aff_emp.php?sessId=$sessId&id=".$query2['id']."'>Afficher </a></td>";
}
}
else
{
while($query4=mysqli_fetch_array($query3))
{
echo "<tbody><tr><td>".$query4['name']."</td>";
echo "<td>".$query4['prenom']."</td>";
echo "<td>".$query4['affectation']."</td>";
echo "<td>".$query4['email']."</td>";
echo "<td>".$query4['date_rec']."</td>";
echo "<td class=\"text-DANGER\">".$query4['nbr_rc']." Jours</td>";
echo "<td>".$query4['matricule']."</td>";
echo "<td> <a class=\"btn btn-primary btn-xs green pull-center\" href='edit.php?sessId=$sessId&id=".$query4['id']."'>Modifier</a></td>";
echo "<td> <button type=\"button\" class=\"btn btn-xs green btn-primary disabled pull-center\">Supp</button> ";
echo "<td> <a class=\"btn btn-primary btn-xs green pull-center\" href='aff_emp.php?sessId=$sessId&id=".$query4['id']."'>Afficher </a></td>";
}
}
?>
</td>
</tr>
</tbody>
</table>
tks in advance and source javascript of function datatable
<head>
<meta charset="UTF-8">
<title>Application gestion de RC</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/jquery.dataTables.min.css">
<link rel="stylesheet" href="css/jquery.dataTables.css">
<script type="text/javascript" src="js/jquery-1.8.2.js"></script>
<script type="text/javascript" src="js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="js/jquery.dataTables.js"></script>
<script src="js/jquery.min.js"></script>
<script type="text/javascript" language="javascript" >
$(document).ready(function()
{
$('#datatable').dataTable();
});
</script>
</head>