Jquery: Setting/removing two attributes at once
<p>I am upcoming learner with jquery. Does anyone know how to give set two attributes at once that fit into the below example?</p>

<p><strong>For the moment I am only able to give it one attribute. My goal is to able to give two attributes to a select box  'disabled' and 'hidden'</strong></p>

<pre><code>obj.nextAll('.update').html('&lt;option value=""&gt;----&lt;/option&gt;').attr('disabled', true); 
</code></pre>

<p><strong>Same things goes for removing the attributes: 'disabled' and 'hidden'</strong></p>

<pre><code>obj.next('.update').html(data.list).removeAttr('disabled');
</code></pre>
