jQuery to disable button action

To disable a button action using jQuery, you can set the attribute of the button to . Here’s a simple example:

jQuery('#button_id').prop('disabled', 'disabled');

Leave a comment

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