How To Bind jQuery .live() To Multiple Events

Author: , April 17th, 2011

As of jQuery 1.4.1 .live() can accept multiple, space-separated events, similar to the functionality provided in .bind(). For example, we can “live bind” the click and focus events at the same time like so:

Another example, this time creating a hover effect: