mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-18 11:31:06 +00:00
docs: repeated explanation for disable link based buttons removed
This commit is contained in:
parent
53099d8cc4
commit
410ca0972f
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue