Then you just need to use the live method to catch the bubbled up DOM elements and attach the click event.
See here: $().ready(function(){ $(".popup-link").live("click", function(){ var $popuplink = $(this); $("#popup") .fadeIn("slow") .load($popuplink.href()); return false; }); }); Documentation: http://docs.jquery.com/Events/live#typefn On Sun, Sep 20, 2009 at 12:51 AM, Yuzem <naujnit...@gmail.com> wrote: > > > The problem is that the link is dynamically loaded after the original page, > the document ready function doesn't affect it. > > Any idea? > > -- > View this message in context: > http://www.nabble.com/A-very-simple-newbie-problem-tp25526787s27240p25527753.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com. > >