English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

1. Event handlers can be associated to both attributes (in an HTML tag) and properties of an object in BOM.
True
False

2. alert(), prompt() and confirm() are methods of the
a. document object
b. window object
c. navigator object
d. screen object

3. The root object of the BOM is the document object.
True
False

4. Event handlers are always JavaScript code.
True
False

5. In a BOM, the following is the most used object
a. history
b. navigator
c. document
d. screen

2007-03-26 08:10:40 · 2 answers · asked by student 2 in Computers & Internet Programming & Design

2 answers

1. true
2. b
3. false
4. iffy question - what is commonly termed as "event handler" can also be placed inline with the HTML, but it could still be considered JavaScript because they share the same handler names.
5. document
6. You'd better learn to understand this stuff yourself or you are going to fail your class.

2007-03-26 08:14:44 · answer #1 · answered by Rex M 6 · 0 2

4. true! in JavaScript, the event handler is JavaScript code, even if it's just a call to a JavaScript function!

2007-03-26 15:27:25 · answer #2 · answered by jake cigar™ is retired 7 · 1 1

fedest.com, questions and answers