Hi,
I'm creating a mobile app and I've got a button in my navigation bar which I have disabled:
<div data-role="navbar">
<a class="cublink" data-role="button" data-align="middle" data-transition="slide:left" href="#divSelect" disabled="disabled">Continue</a>
<a class="cublink" data-role="button" data-align="right" data-transition="slide:left" href="#divHelp">Help</a>
</div>
As you can see, I have added the disabled attribute above to the "Continue" button. The button looks disabled when running, and a single click on it does not take me to the designated page, which is good. However, if I swipe the button, it does fire it. Is there some code which ignores the disabled attribute when swiped and not clicked?
I'm creating a mobile app and I've got a button in my navigation bar which I have disabled:
<div data-role="navbar">
<a class="cublink" data-role="button" data-align="middle" data-transition="slide:left" href="#divSelect" disabled="disabled">Continue</a>
<a class="cublink" data-role="button" data-align="right" data-transition="slide:left" href="#divHelp">Help</a>
</div>
As you can see, I have added the disabled attribute above to the "Continue" button. The button looks disabled when running, and a single click on it does not take me to the designated page, which is good. However, if I swipe the button, it does fire it. Is there some code which ignores the disabled attribute when swiped and not clicked?