master
theo 4 years ago
parent 96a311467f
commit 4296ade9d8

@ -1035,11 +1035,9 @@ require("ConnexionBDD.php");
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
function Actualisation(){ function Actualisation(){
if(selectionMode == 3){
//lecture dans la base //lecture dans la base
tabcomplet=[]; tabcomplet=[];
var jar = []; var jar = [];
vat tab2 = [];
const xhr = new XMLHttpRequest(); const xhr = new XMLHttpRequest();
xhr.open("POST","test.php"); xhr.open("POST","test.php");
xhr.onload=function (){ xhr.onload=function (){
@ -1080,8 +1078,6 @@ require("ConnexionBDD.php");
} }
} }
} }
}
t = setInterval(Actualisation,550); t = setInterval(Actualisation,550);
</script> </script>
<script> <script>

@ -3242,7 +3242,6 @@ function functionLange(){
function recuphighscore(){ function recuphighscore(){
var nom = document.getElementById('nom').value; var nom = document.getElementById('nom').value;
var score = lesPoints; var score = lesPoints;
$.ajax({ $.ajax({
type: "POST", type: "POST",

Binary file not shown.
Loading…
Cancel
Save