I would do live: function( type, fn ){
if( jQuery.isFunction( type ) ) { fn = type; type = 'insert'; } ... continue live function } and in append, prepend, before and the others ... append: function() { return this.domManip(arguments, true, function(elem){ if (this.nodeType == 1) { this.appendChild( elem ); jQuery(elem).trigger( 'insert' ); jQuery(this).trigger( 'receive', elem ); } }); } Ludovic --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---