Its a very simple problem but sometime we forget how to do.
Just for the reminder bookmark this and use it.
$("#mybtn").addClass('disabled');
<button id="mybtn">Disable me</button>
This is how we can simply disable button.
Checkout this example.
Thanks for visiting
Author Profile

- Tech Lover , Open Src Dev , Dotnet Core, Ionic, Xamarin, Node, Angular2, Python, Opencv, AI, ML, Robotics, SignalR, Iot, Love Music, Cooking, Girls, Innovation.
Latest Post by this Author
Summary
Article Name
How to disable button in Jquery ?
Description
Its a very simple problem but sometime we forget how to do. Just for the reminder bookmark this and use it...
Author
Prem Kumar
Publisher
pkworlz