Which code segment should you use?

You are creating a JavaScript function to display the current version of a web application You declarea button
as follows.
<input type=”button” id=”About” value=”About” />
You need to create an event handler for the button by using an anonymous function.
Which code segment should you use?

You are creating a JavaScript function to display the current version of a web application You declarea button
as follows.
<input type=”button” id=”About” value=”About” />
You need to create an event handler for the button by using an anonymous function.
Which code segment should you use?

A.

B.

C.

D.



Leave a Reply 0

Your email address will not be published. Required fields are marked *