Response title
This is preview!
// auto-wrap product image paragraphs 4/3/12 but not first paragraph
$('div#product-content p:gt(0)').each(function(index) {
$this = $(this).wrap('<div class="row"><div class="ten columns offset-by-two products">');
});
How do I change the code to only wrap the paragraph IF the paragraph contains an image??
Thank you, Tom
© 2013 jQuery Foundation
Sponsored by and others.