From 6e743543d6d324a53a86af2f4b70918e5456abd2 Mon Sep 17 00:00:00 2001 From: SilicoFlare <100959814+SilicoFlare@users.noreply.github.com> Date: Thu, 23 Mar 2023 14:45:29 +0530 Subject: [PATCH] mod codegen2 --- pes/scilab/lab02.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pes/scilab/lab02.html b/pes/scilab/lab02.html index 46113c7..338e28d 100644 --- a/pes/scilab/lab02.html +++ b/pes/scilab/lab02.html @@ -82,7 +82,8 @@ temp.querySelector(".del").setAttribute("onclick", "delValue("+i+")"); list.appendChild(temp); count++; - console.log(count) + document.getElementById("value"+(count-1)).focus(); + console.log(count); } function init() {