Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Text Input doesn't use ui-disabled class if disabled attribute is set in markup #4636
For a form element of type "Text Input" the ui-disabled class isn't set during initialization of the widget if the "disabled" attribute is already set in the markup.
See http://jquerymobile.com/test/docs/forms/docs-forms.html (Disabling form elements)
This is inconsistent with the behavior of the textinput API, because
$( "#foo" ).textinput( "disable" );
will disable the text field AND set the ui-disabled class.