nerdexam
IBM

LOT-410 · Question #41

Johnny is adding a single button to change an In-Place Form from read mode to edit mode and vice versa. Which server-side JavaScript code snippet can be utilized?

The correct answer is A. getComponent("obj1").toggle(). See the full explanation below for the reasoning.

Question

Johnny is adding a single button to change an In-Place Form from read mode to edit mode and vice versa. Which server-side JavaScript code snippet can be utilized?

Options

  • AgetComponent("obj1").toggle()
  • BgetComponent("obj1").toggle("off")
  • CgetComponent("obj1").show("false")
  • DgetComponent("obj1").changeFormState()

How the community answered

(29 responses)
  • A
    79% (23)
  • B
    10% (3)
  • C
    3% (1)
  • D
    7% (2)

Community Discussion

No community discussion yet for this question.

Full LOT-410 Practice