Using Rendered Event
The above sample showcases listening to events using jQuery. Click here to know more on how the code of this example works.