From ef9326a2b25bc75cec08f1354e9c16012a1fcd9a Mon Sep 17 00:00:00 2001 From: Miguel Horta <106134627+MiguelAngelHorta@users.noreply.github.com> Date: Wed, 13 Mar 2024 16:43:09 -0700 Subject: [PATCH] Update script.js added success message --- script.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script.js b/script.js index 9d4684e..a0306c3 100644 --- a/script.js +++ b/script.js @@ -122,6 +122,10 @@ function AddData() { document.getElementById("mainDescription").value = ""; document.getElementById("domain").value = ""; document.getElementById("scope").value = ""; + + // Display the success alert + alert("Control added successfully!"); + } } }