JQuery
JQuery
in

How to disable button in Jquery ?

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

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What do you think?

400 Points
Upvote Downvote
Sadio Mane of Senegal

Sadio Mane of Senegal with broken Mobile phone – story

How to save or export your whatsapp chat history

How to save or export your whatsapp chat history