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.
Here is my code:
if(c4Obj.getValueByName("Combined_Order",1)=="")
$("#StockPlates_btn").attr('disabled', true)
else
$("#StockPlates_btn").attr('disabled', false);
Thank you for your time