Does div with certain content exist
<p>If I have a container div called <code>#container</code> which has a bunch of <code>.inside</code> divs in it, how would I go about checking whether a certain <code>.inside</code> div with a specified content (just a string of English text) exists or not? I'm doing this to prevent duplicates in a notification system I'm setting up for a website. I don't need the actual text - just whether it exists. Also, being able to modify the content of the <code>.inside</code> div if it's found would be good, so I can increment and show the number of times that message has occurred (grouping, if you like).</p>

<p>Thanks,</p>

<p>James</p>
