Q:

Javascript Program to implement Prompt Box

0

Program to implement Prompt Box by calling a function.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

<html>
<body>

<button onclick="Prompt()">Click Me!</button>
<script>
function Prompt() 
{ 
    var value = prompt("Welcome:", "TutorialsLink!");   
}
</script>

</body>
</html>

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now