Disabled inputs B&C if not inputA
<p><a href="http://jsfiddle.net/6Pu3E/" rel="nofollow">http://jsfiddle.net/6Pu3E/</a></p>

<p>JS:</p>

<pre><code>$(document).ready(function() {
    var block = false;
    if $('#password').attr('disabled'); {
        block = false;
    }else{
        block = true;
    };
    if block {
        $('.form_input input').attr('disabled','disabled');
    }else{
        $('.form_input input').removeAttribute('disabled');
    }
});
</code></pre>

<p>HTML:</p>

<pre><code>&lt;form&gt;
    &lt;input id="password" value="" /&gt;
    &lt;input class="form_input" id="Special" /&gt;
    &lt;input class="form_input" id="Nothing Special" /&gt;
&lt;/form&gt;
</code></pre>

<p>The goal is that all the inputs with a certain class get the attribute disabled if the first input with ID="password" does NOT have the attribute disabled. If the first input is disabled, nothing happens. I.e. the other inputs won't get the disabled attribute.</p>
