Not the answer you're looking for? Also, the ability to remove event handlers allows you to have the same button performing different actions in different circumstances: all you have to do is add or remove handlers. In the following example, an onclick attribute (with code), is added to a Do German ministers decide themselves how to vote in EU decisions or do they have to follow a government line? But then when you click the video, the video starts to play, but the box is hidden again! Move the mouse over the input field to see clientX/clientY (the example is in the iframe, so coordinates are relative to that iframe): Double mouse click has a side effect that may be disturbing in some interfaces: it selects text. Note: To invoke a function expression, the parentheses must appear after the variables name! See the .trigger() doco for more info. The above example invokes a function defined inside a