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)- A8% (2)
- B80% (20)
- C4% (1)
- D8% (2)
Community Discussion
No community discussion yet for this question.