[jQuery] Loaded content, changing href value...

[jQuery] Loaded content, changing href value...


I have the following code:
    $(".loader").click(function () {
    var newHref = $(this).attr("href") + "&js";
    $("#loadcontent").load(newHref);
        return false;
        });
What is does is append "&js" to any link. All hrefs point to
content.php, which first builds the section "loadcontent" (the content
area of the page), then either returns a full page if the "&js"
parameter isn't passed to it, or just the "loadcontent" div if it is.
This works perfectly on the first load. The "loadcontent" div now
contains links created by the load function (created by other
parameters, eg page=foo&section=bar). Clicking these links however
does NOT seem to append "&js" (even though they do carry the .loader
class", and I get a full page refresh :(
Any idea how to solve this?