C2180-278 Free Dumps Study Materials
Question 3: A mobile application developer needs to add a button to a Worklight application. Using the
Rich Page Editor, the application developer drags a button widget onto the canvas of the existing
page. What should the application developer do to give the button the id "getContactsButton" and
have it invoke the JavaScript function getContacts() when it is clicked?
A. Right-click on the canvas and bring up the properties dialog, type getContactsButton in the id
field and select getContacts() in theonclick drop down menu.
B. Right-click on the canvas and bring up the properties dialog, type getContactsButton in the id
field, locate the onclick property and typegetContacts() for its value.
C. Find the Properties view for the the button and select the All tab. Then type getContactsButton in
the id field and select getContacts() inthe onclick drop down menu.
D. Find the Properties view for the the button and select the All tab. Then type getContactsButton in
the id field, locate the onclick propertyand type getContacts() for its value.
Correct Answer: D