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

Click this paragraph to change its background color.

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

Click this paragraph to change its background color.

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