From c6f11aa0a2e76e94caf651fa094f4dc805e29a34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=88=9A=28noham=29=C2=B2?= <100566912+NohamR@users.noreply.github.com> Date: Wed, 19 Apr 2023 21:47:58 +0200 Subject: [PATCH] fix changer page --- index.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 7d07aee..83baee8 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,7 @@
- +
@@ -237,9 +237,13 @@ sesamth } function changerNBpage() { + var nbtochange = 0 var nbpage = document.getElementById("nbpage").value; + var editionchoisie = document.getElementsByName("edition")[0].value; + console.log('nbpage', nbpage); nbtochange = nbpage - page1; - changerPage(nbtochange); + console.log('nbtochange' ,nbtochange); + changerPage(nbtochange, editionchoisie); } @@ -255,7 +259,7 @@ sesamth } - -->