w
Posts: 0
Joined: Tue Mar 26, 2013 12:30 pm

How to disable an appery button?

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?

w
Posts: 0
Joined: Tue Mar 26, 2013 12:30 pm

How to disable an appery button?

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

All the rest doesn't work.

Return to “Issues”