There is a function and a page, on that page there are a lot of different html blocks, I need to pull out a certain and several pieces. That is, pull the picture with the class: img1 and shove it in div1 also with the picture img2 and div2
$(document).ready(function(){ $('#btn1').click(function(){ $.ajax({ url: "page1.html", cache: false, success: function(html){ $("#content").html(html); } }); }); });