nerdexam
Magento

M70-301 · Question #62

You want to stop all events on someElement. Which two methods from prototype.js will do this? (Choose TWO.)

The correct answer is B. $ ("someElement") .stopObserving() F. Event.stopObserving("someElement"). See the full explanation below for the reasoning.

Question

You want to stop all events on someElement. Which two methods from prototype.js will do this? (Choose TWO.)

Options

  • A$ ("someElement").stopEvent()
  • B$ ("someElement") .stopObserving()
  • CEvent.stop("someElement")
  • D$("someElement").stop ()
  • EEvent.stopEvent("someElement")
  • FEvent.stopObserving("someElement")

How the community answered

(25 responses)
  • A
    8% (2)
  • B
    80% (20)
  • C
    4% (1)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full M70-301 Practice