Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
added success message
  • Loading branch information
MiguelAngelHorta authored Mar 13, 2024
1 parent e8873d1 commit ef9326a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!");

}
}
}
Expand Down

0 comments on commit ef9326a

Please sign in to comment.