Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

alert confirm prompt javascript

  if (confirm("Press a button!")) {
    console.log("Accepted")
  } else {
    console.log("Declined")
  }
 
PREVIOUS NEXT
Tagged: #alert #confirm #prompt #javascript
ADD COMMENT
Topic
Name
5+1 =