August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.write(value,….)
The write() method appends the comma-separated argument(s) ( value ) to the document as a string. If any of the arguments are not strings, they are converted to strings before being appended to the document.
Listing 7.199 writes some text, as well as the value of a property, to the current document using the write() method.
<html> <head><title>Movies</title></head> <script language="JavaScript"> <!-- Hide //write data to the current document. document.write("The title of this web page is called <u>"); document.write(document.title,"</u>"); //Hide ... |
Read now
Unlock full access