Uploaded by sejal nehete

3rd day output statement

advertisement
Welcome to
CNC WEB WORLD
Topic:Output Statement
Trainer –
Shilpa Nikhare
OUTPUT STATEMENT
Window.alert ();
The Window.alert() method displays an alert dialog
with the optional
specified content and an OK
button.
Syntax: window.alert(message);

Document.write();
The write() method writes HTML expressions or
JavaScript code to a document.
document.write(message);

Download