From ed4925b6215497102376472b3ec60c2bb3f9e601 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Wed, 24 Jun 2026 22:13:17 +0000 Subject: [PATCH] a --- Js/fonctions.js | 7 +++++++ Vue/gabarit.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 97885a5..8b3909f 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -3242,6 +3242,13 @@ function ajax_maj_qte_medicament(idMedicament, quantite, controle) data: donnees, success: function(data) { $("#medicaments").html(data); + var input = document.getElementById("quantite" + idMedicament); + if (input) { + alert("O fait le focus"); + input.focus(); + input.select(); + } + }, error: function(data) { }, diff --git a/Vue/gabarit.php b/Vue/gabarit.php index ea52e60..fa46b2d 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -892,7 +892,7 @@ - +