ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 78 - Certified Platform Developer II discussion

Report
Export

A developer is using a third-party JavaScript library to create a custom user interface in Visualforce.

The developer needs to use JavaScript to get data from a controller method in response to a user action.

How can the developer accomplish this?

A.
Use <apex:actionFunction> to create a JavaScript wrapper for the controller method
Answers
A.
Use <apex:actionFunction> to create a JavaScript wrapper for the controller method
B.
Use the @RemoteAction annotation on the method definition with JavaScript Remoting
Answers
B.
Use the @RemoteAction annotation on the method definition with JavaScript Remoting
C.
Use the $Controller global variable to access the controller method via JavaScript
Answers
C.
Use the $Controller global variable to access the controller method via JavaScript
D.
Use <apex:actionSupport> to enable JavaScript support for the controller method
Answers
D.
Use <apex:actionSupport> to enable JavaScript support for the controller method
Suggested answer: B
asked 23/09/2024
David Ezejimofor
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first