nerdexam
IBM

LOT-410 · Question #66

John wants to add a "data-role" attribute to his Edit Box control. Which can he use to accomplish this?

The correct answer is A. Using the attrs property of the Edit Box he can add a "data-role" and an associated value. See the full explanation below for the reasoning.

Question

John wants to add a "data-role" attribute to his Edit Box control. Which can he use to accomplish this?

Options

  • AUsing the attrs property of the Edit Box he can add a "data-role" and an associated value.
  • BUsing the dojoAttributes property of the Edit Box he can add a "data-role" and an associated value.
  • CUsing the customProperty property of the Edit Box he can add a "data-role" and an associated value.
  • DCustom attributes are not possible in XPages and must be added to the field using an external Javascript

How the community answered

(14 responses)
  • A
    71% (10)
  • B
    7% (1)
  • C
    7% (1)
  • D
    14% (2)

Community Discussion

No community discussion yet for this question.

Full LOT-410 Practice