docs: repeated explanation for disable link based buttons removed

This commit is contained in:
Maurice Gottlieb 2011-10-23 13:32:35 +03:00
parent 53099d8cc4
commit 410ca0972f

View file

@ -68,7 +68,7 @@
<h2>Disabling form elements</h2>
<p>All jQuery Mobile widgets can be disabled in the markup by adding the standard <code>disabled</code> attribute to the element, just like you would with native controls. Each form widget also has standard <code>disable</code> and <code>enable</code> methods that are documented with each form widget. Here are a few examples of disabled widgets. Note that you can disable form buttons, but not links with a role of button because links don't have a parallel disabled feature in HTML. If you need to disable a link-based button, it's possible to apply the same disabled class <code>ui-disabled</code> with JavaScript to the enhanced button markup generated to achieve this effect. </p>
<p>All jQuery Mobile widgets can be disabled in the markup by adding the standard <code>disabled</code> attribute to the element, just like you would with native controls. Each form widget also has standard <code>disable</code> and <code>enable</code> methods that are documented with each form widget. Here are a few examples of disabled widgets: </p>
<div data-role="fieldcontain">
<label for="foo">Text Input:</label>