Disabling asp Controls using .attr does not work in FF & Chrome, Whereas it works with IE
<p>Here is what i am using to disable the controls on click of a button:</p>

<pre><code>$('#cmdbtnreleaseOwner').attr('disabled', true); 
$('#cmdlnkbtnreleaseOwner').attr('disabled', true);
</code></pre>

<p>This disables the controls with respective ids in IE, but doesn't works with Mozilla FF and Chrome..</p>

<p>Edit:</p>

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

<pre><code>&lt;asp:ImageButton ID="cmdbtnreleaseOwner" ClientIDMode="Static" runat="server" ImageUrl="~/images/add-prospect.png" CommandName="Release" OnClientClick="return OnServiceOrderButtonClick();" /&gt;

 &lt;asp:LinkButton Text="Release OwnerShip" ClientIDMode="Static" runat="server" ID="cmdlnkbtnreleaseOwner" CommandName="Release" OnClientClick="return OnServiceOrderButtonClick();" /&gt;
</code></pre>

<p>HTML from Source :</p>

<pre><code>&lt;input type="image" name="ctl00$ContentPlaceHolder1$ServiceOrderGridView$ctl00$ctl02$ctl00$cmdbtnreleaseOwner" id="cmdbtnreleaseOwner" src="../images/add-prospect.png" onclick="return OnServiceOrderButtonClick();" /&gt;

&lt;p&gt;
&lt;a onclick="return OnServiceOrderButtonClick();" id="cmdlnkbtnreleaseOwner" href="javascript:__doPostBack(&amp;#39;ctl00$ContentPlaceHolder1$ServiceOrderGridView$ctl00$ctl02$ctl00$cmdlnkbtnreleaseOwner&amp;#39;,&amp;#39;&amp;#39;)"&gt;Release OwnerShip&lt;/a&gt;
&lt;/p&gt;
</code></pre>
