Java Script validation
<p>Am validating a form for empty check.</p>

<p>All fields works fine.</p>

<p>I have a dropdown when i select some value from dropdown some fields will be disabled. onchanging the dropdown value someother fields will be disabled. </p>

<p>Now am struck in validating the fields which are getting disabled and enabled.</p>

<pre><code>if((document.form1.varAuctionTime.disabled = false) &amp;&amp; (document.form1.varAuctionTime.value == ""))   
</code></pre>

<p>I used above code but it is enabling the fields.</p>

<p>can anybody help me out.</p>
