Chapter 14 Answers
- Question 14-1
- Question 14-2
- Question 14-3
- Question 14-4
The equivalent of the
document.writefunction (or method).
- Question 14-5
//for a single-line comment or surround it with
*/for a multiline comment.
- Question 14-6
- Question 14-7
varkeyword upon first assignment.
- Question 14-8
To display the URL assigned to the link ID
thislinkin all main browsers, you can use the two following commands:
- Question 14-9
The commands to change to the previous page in the browser’s history array are:
- Question 14-10
To replace the current document with the main page at the oreilly.com website, you could use the following command:
document.location.href = 'http://oreilly.com'