Wrapping all images


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $("img").each(function() {
  2. $(this).wrap('<div></div>');

URL: http://retrorock.info/2009/12/envolviendo-el-codigo-jquery-wrap

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.