> $('#myButton').click(function() { > $('#myTarget').load('myfile.html' function() { > alert('my callback'); > }); > }); > > The above says: when myButton is clicked, load myfile.html into > myTarget and alert me when it's done. > And then you can "rebind" any event handlers you want, but do this only on the #myTarget, else the events get binded twice to the other elements allready binded.
Gilles _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/