Click here to Skip to main content
15,900,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have<a id="link1" runat="server"/>
$('a[id*="link1"]').attr("disabled", "disabled"); is working fine in Ie but not working in chrome and Mozilla need to disable it in Chrome and Mozilla
Posted

Check this[^]. You can try all options
 
Share this answer
 
The following code should work in all browsers. Can you try this.
JavaScript
$("#link1").attr("disabled", "disabled");
 
Share this answer
 
Comments
pianca 11-Jun-13 8:12am    
no its not working i have tried it

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900