re-initiate a jQuery plug-in after dynamically inserting content <p>I have a jQuery tabs plug-in which works well... However I have a lightbox (also dynamicaly generated) that allows users to choose content which then gets shown in tabs.</p> <p>This works fine if the user chooses content, leaves the page and comes back.. however i want the tabs to work as soon as the user finishes selecting content.</p> <p>I have tried the usual .delegate() tags, but which event do I attach them to? I have tried doing it on the 'save' button on the lightbox but as this is also dynamically generated it doesn't appear to work.</p> <p>Any ideas?</p> <p>Thanks!</p>