I created a navbar element with 4 buttons. 2 of the buttons are Previous/Next buttons, and I need to disable them when I get to the beginning or end of the list. I call javascript like the one below but nothing seems to do anything. Any ideas?
var nextButton = Tiggr('Next');
nextButton.attr('disabled', 'true');
nextButton.attr('enabled', 'false');
nextButton.attr('visible', 'false');