Michael Haren
2009-10-04 03:00:51
Thanks! Had no idea I could do that...
n00b0101
2009-10-04 03:47:59
+1
A:
This will grab the paragraph not containing an image, which fits your limited sample:
var pt = $("p:not(:has(img))");
It's probably the case that your actual markup will be more complex than this but there are many variations on this that you could do.
cletus
2009-10-04 03:04:13