加载addressValue jQuery的特定div

时间:2019-01-16 08:52:35

标签: jquery variables load

我具有此功能:

    $(".products li a").click(function(event){
                event.preventDefault();
                $( "#stap_2" ).addClass("stap_2_tonen");
                $('html, body').animate({
                    scrollTop: $("#stap_2").offset().top
                }, 1000);

                $("#loader_tickets").addClass( "toon_loader" );     
                var addressValue = $(this).attr("href");        
                $("#bestellen").load(addressValue); 
});

可以,但是现在我需要使用CSS隐藏addressValue中的元素,但是我想加载该addressValue的特定div。

我该如何实现?

0 个答案:

没有答案