Important Notice:

Course Content
Switch Statement
0/1
break and continue Statements
0/3
Basic Form Validation in JavaScript
0/1
JavaScript & Angular JS (Chapter- 6) M2-R5.1
About Lesson

Window.alert( ):-

      alert box को display कराने के लिये आप window.alert() का use कर सकते है।    

syntax:- window.alert( )

Window.alert( ):-

                              You can use window.alert() to display the alert box.

syntax:- window.alert( )

 

Example:

Window.alert( ) example

<!DOCTYPE html>

<html>

<body>

<h1>windowalert</h1>

<p>how to display output in javascript</p>

<script>

window.alert(“hi how are you”);

</script>

</body>

</html>

error: Content is protected !!