0

ajax経由で画像を読み込んでdivに表示するには?

$("<div />").load("#{load_image_path}/"+$(this).attr("data-id"), function(data) { //IN WHICH FORMAT IT MUST BE GIVEN?
    $(".la-anim-10").removeClass("la-animate");
    $(".fullscreen").css("background", "url('#{load_image_path(13)}')"); //HOW IT MUST BE WRITTEN HERE?
    $(".fullscreen").css("display", "block");
  });
4

0 に答える 0