Identify the syntax to add an event listener to an object.

A. object.addEventListener(event, function [, capture = true]);
B. object.addEventListener(event, function [, capture = false]);
C. object.addEventListener(event, function [,target= false]);
D. object.addEventListener(event, function [, target = true]);


Answer: B

Computer Science & Information Technology

You might also like to view...

Which of the following is NOT true regarding linked tables?

A) When data are shared among many databases and is stored in a central location on a computer network, Access provides the ability to link to the data. B) A linked table provides a link to data stored in another database or application. C) Linking tables can increase data redundancy. D) Access can link to a table in another Access database, an Excel spreadsheet, or to tables in SQL and Oracle databases.

Computer Science & Information Technology

Entering the year portion of a date as 40 will be interpreted as the year 2040

Indicate whether the statement is true or false

Computer Science & Information Technology

Trace Precedents and Trace Dependents are contained in the ________ group

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Some viruses are considered to be benign.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology