开发者

Full Image Background with jQuery and AJAX

开发者 https://www.devze.com 2023-03-21 00:35 出处:网络
I 开发者_如何学运维need to apply a plugin to an image when this one is loade via AJAX with jQuery .load method.

I 开发者_如何学运维need to apply a plugin to an image when this one is loade via AJAX with jQuery .load method.

thanks a lot in advance!


initialize that plugin in load success callback something like this..

$('#result').load('ajax/test.html', function() {
  // initialize  your plugin on image 
});
0

精彩评论

暂无评论...
验证码 换一张
取 消