Listening to Events - Using JavaScript Advanced Registration Model
The above sample showcases using JavaScript advanced event registration model. Click here to know more on how the code of this example works.