This example demonstrates how to achieve the same effect using on() and live().

This is some text.

Click to set background color using the on() method.


This is some text.

Click to set background color using the live() method.