JQuery's Contains returns an Object?
<p>I am trying to see if a particular string appears in a div. I have tried but it doesn't return true or false which is what I thought contains did?</p>

<pre><code>if($("#path"+i+"_status:contains('!=')")){

     alert($("#path"+i+"_status:contains('!=')"));

    //alerts - [object object]

     return true;

}
</code></pre>

<p>Here is my HTML:</p>

<pre><code>&lt;div class="status" id="path3_status"&gt;
&lt;img height="21" align="absmiddle" src="images/valid.jpg"&gt;Text File (3000) = Source Table (3000)&lt;img height="21" align="top" src="images/info.jpg" " id="img_path3"&gt;
&lt;a onclick="clear_file('TI004OBAE', 'path3');" href="#"&gt;Clear&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>What am I doing wrong. How can I find out if a div contains the string "!="?</p>

<p>Thanks all for any help</p>
