jQuery.fn.extend({
live: function( types, data, fn ) {
if( window.console && console.warn ) {
console.warn( "jQuery.live is deprecated. Use jQuery.on instead." );
}
jQuery( this.context ).on( types, this.selector, data, fn );
return this;
}
});
źródło: http://stackoverflow.com/questions/8021436/turning-live-into-on-in-jquery
Brak komentarzy:
Prześlij komentarz