You simply need to attach the click behaviour to the .test element after it is created. At the moment you are trying to attach it upon $ (document).ready which only happens once, just before the page is first loaded.
Joel. On 23/01/2007, at 9:24 PM, Laurent Goussard wrote: > Can someone explain me how enabling the click event on .test even if > the .test element is loaded dynamically from script (ajax doesn't work > neither) ? _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
