is there a simple a way to prevent the other input can type in jquery?
<p>the html structure:</p>

<pre><code>1,  &lt;input id="form1" size="12" maxlength="10" class="form-text" type="text"&gt;

2,  &lt;input id="form2" size="12" maxlength="10" class="form-text" type="text"&gt;

3,  &lt;input id="form3"  size="12" maxlength="10" class="form-text" type="text"&gt;

4,  &lt;input id="form4"  size="12" maxlength="10" class="form-text" type="text"&gt;

5,  &lt;input id="form5"  size="12" maxlength="10" class="form-text" type="text"&gt;

6,  &lt;input id="form6" size="12" maxlength="10" class="form-text" type="text"&gt;

7,  &lt;input id="form7"  size="12" maxlength="10" class="form-text" type="text"&gt;

8,  &lt;input id="form8"  size="12" maxlength="10" class="form-text" type="text"&gt;

9,  &lt;input id="form9"  size="12" maxlength="10" class="form-text" type="text"&gt;

10,  &lt;input id="form10"  size="12" maxlength="10" class="form-text" type="text"&gt;

11,  &lt;input id="form11"  size="12" maxlength="10" class="form-text" type="text"&gt;
</code></pre>

<p>if don't alter the html structure. is there a way to do this.</p>

<p>if 1,2,3,4 have content. then the rest can't type anything. </p>

<p>if 4,5,6 have something. then the rest can't type anything.</p>

<p>if 8 has something.then the rest can't type anything.</p>

<p>if  9,10,11 has something.then the rest can't type anything.</p>
