Disabling button in javascript not working in IE
<p>I have a requirement to disable a button when no value is found for a certain object. This code works in FF and the button is greyed out. It doesn't work in IE however.</p>

<p>Here is my code:</p>

<pre><code>if(c4Obj.getValueByName("Combined_Order",1)=="")  
    $("#StockPlates_btn").attr('disabled', true)
else 
    $("#StockPlates_btn").attr('disabled', false);
</code></pre>

<p>Thank you for your time</p>
