|
44 | 44 | <h3>Field containers</h3> |
45 | 45 |
|
46 | 46 | <p>Optionally wrap the text input in a container with class <code>ui-field-contain</code> to help visually group it in a longer form.</p> |
47 | | - <p><strong>Note: The <code>data-</code> attribute <code>data-role="fieldcontain"</code> is deprecated as of jQuery Mobile 1.4.0 and will be removed in 1.5.0. Add class <code>ui-field-contain</code> instead.</strong></p> |
| 47 | + <p class="warning"><strong>Note:</strong> The <code>data-</code> attribute <code>data-role="fieldcontain"</code> is deprecated as of jQuery Mobile 1.4.0 and will be removed in 1.5.0. Add class <code>ui-field-contain</code> instead.</p> |
48 | 48 |
|
49 | 49 | <pre><code><![CDATA[ |
50 | 50 | <div class="ui-field-contain"> |
|
66 | 66 |
|
67 | 67 | <p>For multi-line text inputs, use a <code>textarea</code> element. The <code>autogrow</code> extension provides functionality for auto-growing the height of the textarea to avoid the need for an internal scrollbar. </p> |
68 | 68 | <p>Set the <code>for</code> attribute of the <code>label</code> to match the <code>id</code> of the <code>textarea</code> so they are semantically associated, and wrap them in a <code>div</code> with class <code>ui-field-contain</code> to group them.</p> |
69 | | - <p><strong>Note: The <code>data-</code> attribute <code>data-role="fieldcontain"</code> is deprecated as of jQuery Mobile 1.4.0 and will be removed in 1.5.0. Add class <code>ui-field-contain</code> instead.</strong></p> |
| 69 | + <p class="warning"><strong>Note:</strong> The <code>data-</code> attribute <code>data-role="fieldcontain"</code> is deprecated as of jQuery Mobile 1.4.0 and will be removed in 1.5.0. Add class <code>ui-field-contain</code> instead.</p> |
70 | 70 |
|
71 | 71 | <pre><code><![CDATA[ |
72 | 72 | <label for="textarea-a">Textarea:</label> |
@@ -97,7 +97,7 @@ $( "input" ).textinput(); |
97 | 97 |
|
98 | 98 | <h3>Degraded input types</h3> |
99 | 99 |
|
100 | | - <strong>The location of the map of input type degradations in the page plugin is deprecated as of 1.4.0. As of 1.5.0 the input type degradation functionality will be implemented by the <code>degradeInputs</code> module.</strong> |
| 100 | + <p class="warning">The location of the map of input type degradations in the page plugin is deprecated as of 1.4.0. As of 1.5.0 the input type degradation functionality will be implemented by the <code>degradeInputs</code> module.</p> |
101 | 101 |
|
102 | 102 | <p>jQuery Mobile degrades several HTML5 input types back to type=text or type=number after adding enhanced controls. For example, inputs with a type of range are enhanced with a custom slider control, and their type is set to number to offer a usable form input alongside that slider. Inputs with a type of search are degraded back to type=text after we add our own themeable search input styling.</p> |
103 | 103 | <p>The <code>degradeInputs</code> module contains a list of input types that are set to either true which means they'll degrade to type=text, false which means they'll be left alone, or a string such as "number", which means they'll be converted to that type (such as the case of type=range).</p> |
@@ -130,8 +130,8 @@ $( "input" ).textinput(); |
130 | 130 | <h3>Field containers</h3> |
131 | 131 |
|
132 | 132 | <p>Optionally wrap the search input in a container with tlass <code>ui-field-contain</code> to help visually group it in a longer form.</p> |
133 | | - <p><strong>Note: The <code>data-</code> attribute <code>data-role="fieldcontain"</code> is deprecated as of jQuery Mobile 1.4.0 and will be removed in 1.5.0. Add class <code>ui-field-contain</code> instead.</strong></p> |
134 | | - |
| 133 | + <p class="warning"><strong>Note:</strong> The <code>data-</code> attribute <code>data-role="fieldcontain"</code> is deprecated as of jQuery Mobile 1.4.0 and will be removed in 1.5.0. Add class <code>ui-field-contain</code> instead.</p> |
| 134 | + |
135 | 135 | <pre><code><![CDATA[ |
136 | 136 | <div class="ui-field-contain"> |
137 | 137 | <label for="search-2">Search Input:</label> |
|
0 commit comments