Page 1 of 1

How to disable an appery button?

Posted: Mon Jun 03, 2013 9:27 am
by w

I can see in the html that the appery button is created as an a-link, there is no actual button.

I tried everything:

Appery('btnBack').attr('disabled', 'disabled');
Appery('btnBack').button('disable');
Appery('btnBack').attr('disabled', true);
Appery('btnBack').addClass('ui-state-disabled');

and combinations of these.

I also tried to refresh the button .button('refresh'), but didn't work.

How can I disable a button created by Appery, which apperently is created by an a-link that is given a button style?


How to disable an appery button?

Posted: Mon Jun 03, 2013 9:30 am
by Maryna Brodina

How to disable an appery button?

Posted: Mon Jun 03, 2013 9:40 am
by w

Thank you, the solution is .addClass('ui-disabled');

All the rest doesn't work.