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

- Hey Its..! Tech Lover , Ionic, Angular, Typescript, Dotnet Core, Node, Like Opencv, AI, ML, Robotics, Iot, Love Music, Cooking, Girls, Innovation