You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
The current documentation reads: "All jQuery Mobile widgets can be disabled in the markup by adding the standard disabled attribute to the element, just like you would with native controls".
That's mostly untrue for disabled attributes set via JavaScript. For example, the following code doesn't work properly (the form element will be styled as enabled):
The current documentation reads: "All jQuery Mobile widgets can be disabled in the markup by adding the standard disabled attribute to the element, just like you would with native controls".
That's mostly untrue for disabled attributes set via JavaScript. For example, the following code doesn't work properly (the form element will be styled as enabled):
var myselect = $( "#selectfoo" );
myselect.prop( "disabled" , true );
myselect.selectmenu( "refresh" );
Same problem if you try to unset the disabled property that way.
Using attr() method instead of prop() makes no difference.