Why do both of these line return the same results
<p>Both of these return true.  Is one boolean where the other is text.  Shouldnt the one with no .value error as it is refering to the object and not the objects value attribute?
Please help me understand this a bit more.</p>

<pre><code>&lt;input type="text" name="sigstatus1" id="sigstatus1" style="display:none;" size="40" fieldlength="50"&gt;&lt;/input&gt;
&lt;input type="text" name="sigstatus2" id="sigstatus2" style="display:none;" size="40" fieldlength="50"&gt;&lt;/input&gt;

var sigStatus1 = document.getElementById("sigstatus1").value;
var sigStatus2 = document.getElementById("sigstatus2");

sigStatus1 = true;
sigStatus2 = true;

alert("Sig1 " + sigStatus1 + "\nSig2 " + sigStatus2);
</code></pre>

<p>fiddle <a href="http://jsfiddle.net/Xp7jX/" rel="nofollow">http://jsfiddle.net/Xp7jX/</a></p>
