Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

confirm javascript

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>confirm</title>
</head>
<script>
    function confirm() {
        confirm("Alert")
    }
</script>
<body>
    <button onclick="confirm()">confirm</button>
</body>
</html>
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #confirm #javascript
ADD COMMENT
Topic
Name
7+6 =