Title: button (disabled attribute)
Last modified: November 21, 2022

---

# button (disabled attribute)

 *  [Joseph](https://wordpress.org/support/users/fullstack1995/)
 * (@fullstack1995)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/button-disabled-attribute/)
 * hi,
    there is no add disabled in js source code. this must be added. like this:
 *     ```
             beforeSend: function (response) {
               $thisbutton.prop( 'disabled', true );
               $thisbutton.removeClass('added').addClass('loading');
             },
             complete: function (response) {
               $thisbutton.prop( 'disabled', false )
               $thisbutton.addClass('added').removeClass('loading');
             },
       ```
   
    -  This topic was modified 3 years, 4 months ago by [Joseph](https://wordpress.org/support/users/fullstack1995/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [jmatiasmastro](https://wordpress.org/support/users/jmatiasmastro/)
 * (@jmatiasmastro)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/button-disabled-attribute/#post-16290029)
 * [@fullstack1995](https://wordpress.org/support/users/fullstack1995/) Hi mate,
   we have already notified the development team of this.
 * Thank you, regards!

Viewing 1 replies (of 1 total)

The topic ‘button (disabled attribute)’ is closed to new replies.

 * ![](https://ps.w.org/woo-ajax-add-to-cart/assets/icon-256x256.jpg?rev=2911672)
 * [Ajax add to cart for WooCommerce](https://wordpress.org/plugins/woo-ajax-add-to-cart/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-ajax-add-to-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-ajax-add-to-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-ajax-add-to-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-ajax-add-to-cart/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [jmatiasmastro](https://wordpress.org/support/users/jmatiasmastro/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/button-disabled-attribute/#post-16290029)
 * Status: not a support question