how to select option of selection box using for loop
<p>hi can anyone tell me what should i write so that on every iteration of for loop option's value changes and i get one by one option's value. following is the code:</p>

<pre><code>for (var i=1; i&lt;4; i++)
 {
   $("#mydropdown_for_month option[value=i]").attr('hidden','hidden'); 
 } 
</code></pre>

<p>for example dropdown has 10 values but i want to hide those options which have the values dynamically changed by for loop so i write " option=i " but it is not working. I mean i want to write variable i. how can i do that</p>
