make a function return false if an element already exits
<p>I have to find an element in the DOM and if the element exits jquery function should return false.How can i do this?
I did like this but doesnot work.
if($('.myclass').find('#id')== true) return false;</p>
