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>window।alert</h1> <p>how to display output in javascript</p> <script> window.alert(“hi how are you”); </script> </body> </html> |