Which tags do you use to enclose JavaScript code?
By default, to which part of a document will JavaScript code output?
How can you include JavaScript code from another source in your documents?
Which JavaScript function is the equivalent of echo
or print
in PHP?
How can you create a comment in JavaScript?
What is the JavaScript string concatenation operator?
Which keyword can you use within a JavaScript function to define a variable that has local scope?
Give two cross-browser methods to display the URL assigned to
the link with an id
of thislink
.
Which two JavaScript commands will make the browser load the previous page in its history array?
What JavaScript command would you use to replace the current document with the main page at the http://www.oreilly.com website?
See Chapter 13 Answers in Appendix A for the answers to these questions.