Answers for "javascript function confirm"

3

a href confirm javascript

<a href="delete.php?id=22" onclick="return confirm('Are you sure?')">Link</a>
Posted by: Guest on October-21-2020
2

confirm javascript

if (window.confirm("Une nouvelle fenêtre va s'ouvrir.")) {
    window.open("fenetre.html", "Nouvelle fenêtre", "");
}
Posted by: Guest on January-14-2021
3

javascript prompt

var person = prompt("Please enter your name", "Harry Potter");

if (person != null) {
  document.getElementById("demo").innerHTML =
  "Hello " + person + "! How are you today?";
}
Posted by: Guest on July-29-2020
7

javascript alert

alert("string");
Posted by: Guest on May-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language