Can I get the image and load via ajax into div

前端 未结 4 1898
星月不相逢
星月不相逢 2020-12-06 08:07

I have the code below and what I need to do is load the image from the href into a div via ajax... Any help appreciated. I believe that load() can\'t load images like this?<

4条回答
  •  伪装坚强ぢ
    2020-12-06 08:59

    Okay. Messy but it works perfectly. A few tweak like adding the images as background images. Here it is and I hope it helps someone else! Thanks so much everyone.

    
    

提交回复
热议问题