jQuery How to control, does an element exist in document?
<p>I want to control does an element exist in document with its ID, when page is loading. I tried code which is below, but i failed.</p>

<pre><code>   if($(':not(#&lt;%=TextBox1.ClientID %&gt;)')){
     alert("Object is null")else{alert("Object is exist")}}
</code></pre>

<p>Thansk for your helps already now.</p>
