Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit a9e6de3

Browse files
committed
Merge pull request #3261 from jakeboone02/native-select-docs
Corrected native select menu documentation
2 parents eae7965 + 6b32ddf commit a9e6de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/forms/docs-forms.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ <h2>Preventing auto-initialization of form elements</h2>
198198
});
199199
</pre></code>
200200

201-
<p>One special case is that of selects. The above sample will prevent any and all augmentation from taking place on select elements in the page if <code>select</code> is included. If you wish to retain the native performance, look/feel of the menu itself and benefit from the visual augmentation of the select button by jQuery Mobile you can set $.mobile.nativeSelectMenu to true in a <code>mobileinit</code> callback as a global setting or use <code>data-native="true"</code> on a case by case basis.</p>
201+
<p>One special case is that of selects. The above sample will prevent any and all augmentation from taking place on select elements in the page if <code>select</code> is included. If you wish to retain the native performance, look/feel of the menu itself and benefit from the visual augmentation of the select button by jQuery Mobile you can set <code>$.mobile.selectmenu.prototype.options.nativeMenu</code> to true in a <code>mobileinit</code> callback as a global setting or use <code>data-native-menu="true"</code> on a case by case basis.</p>
202202

203203

204204

0 commit comments

Comments
 (0)