All,

im trying to get the syntax down to find all img tags that are NOT
surrounded by <p> tags and wrap those img tags in <p> tags.

I can get the selector to get all img tags and wrap it in a <p> tag
but i need to further take it to disregard the img tags that already
are wrapped in <p>

pseudocode

$(img parent tag not equal to p).each().....


thank you for any help you can give me.

Reply via email to