value undefined for jquery
<p>here is my jquery</p>

<pre><code> var obj=$("#Connect");
  alert($("#Connect").value);
</code></pre>

<p>The value appeared to be undefined, but I have a html tag there</p>

<pre><code>&lt;input type="button" id="Connect" value="Connect"/&gt;
</code></pre>

<p>what is the problem?</p>
