Hi, I'm having a problem with selectors not affecting things that have
been loaded into the page. Any help or ideas would be gratefully
received. I'm quite new to all this...

See comments in my code below...

$(document).ready(function(){

        // loads HTML with form and now there are two links with the
class of .advancedsearchlink
        $("#advancedsearchholder").load("load-advancedsearch.html");

        // this opens and closes a search area using either of
the .advancedsearchlink links - but only the one outside of the loaded
HTML works
        $(".advancedsearchlink a").click(function () {
                $("#advsearchbox").slideToggle();
                return false;
        });

});




Thanks!

Reply via email to