find the next specific element using javascript?
<p>I have a problem on this, i want to enabled the select element by checking the check box that correspond the select element in a row. how can i do that?</p>

<pre><code>&lt;table&gt;
&lt;?php do { ?&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;input type="checkbox" /&gt;&lt;/td&gt;
 &lt;td&gt;
    &lt;select disabled="disabled"&gt;
     &lt;option value="1"&gt;Dog&lt;/option&gt;
     &lt;option value="2"&gt;Cat&lt;/option&gt;
    &lt;/select&gt;
 &lt;/td&gt;
&lt;/tr&gt;
&lt;?php } while($row = mysql_fetch_assoc($result)); ?&gt;
&lt;/table&gt;
</code></pre>
