I have a jQuery Mobile Beta 1 website with jQuery 1.6.1 link button like this:
<a id=subselection href=# data-role=button data-theme=b>TEST</a>
And in document.ready i set the click event:
$('#subselection').livequery(click, function(){
alert('test');
});
I whant to disable this link button and i tried
$('#subselection').button('disable')
And that command set the button style like it is disabled but the click event works.
I have also tried
$('#subselection').prop('disabled', true);
and $('#subselection').prop('disabled'); gives true but its not disabled.
Someone has a good idea.