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...

The ________ component of Outlook is your e-mail address book for storing information about people, organizations, and businesses with whom you communicate.

a. Contacts b. Appointments c. Calendar d. E-mail

Computer Science & Information Technology

Discuss in detail the USA Patriot Act. Do you think it infringes upon the right to privacy of the American citizens? Elaborate

What will be an ideal response?

Computer Science & Information Technology