The formats used are indicated in the documentation for live
$(document).on({...events...}, selector, data);
-or -
$(document).on(event, selector, data, callback);
The code for the live
function in 1.7+ is now just an end-to-end function:
live: function( types, data, fn ) { jQuery( this.context ).on( types, this.selector, data, fn ); return this; }
source share