.wrap tags stripped
-
If I place
$(document).ready(function () { $(".product-category img").each(function(index, element) { $(element).wrap("<div class='prod-img'></div>");});});after saving it gets changed to
$(document).ready(function () { $(".product-category img").each(function(index, element) { $(element).wrap("");});});
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘.wrap tags stripped’ is closed to new replies.