This example demonstrates how to achieve the same effect using off() and unbind().

Click this paragraph to change its background color.

Click the button below and then click on this paragraph (the click event is removed).