Using JavaScript to Write an Event Handler
Calling the method of a class in a plug-in