.val() of jquery not working for select element on IE
<p>I tried all these for selected value of select element </p>

<pre><code>inventory_rule = $("#inventory_rule :selected").attr('value');
inventory_rule = $("#inventory_rule option:selected").val();
inventory_rule = $("#inventory_rule").attr('value');
inventory_rule = $("#inventory_rule").val();
</code></pre>

<p>these all worked well in mozilla but not in IE</p>

<p>is any alternative</p>
