Update documentation to reflect prototype initialization method.
This commit is contained in:
parent
5d58979891
commit
742f008c78
1 changed files with 2 additions and 2 deletions
|
@ -1247,8 +1247,8 @@
|
|||
<li><a href="https://github.com/harvesthq/chosen">Download the plugin</a> and copy the related files to your app.</li>
|
||||
<li>Activate the plugin:
|
||||
<ul>
|
||||
<li><strong>jQuery Version:</strong> Call the chosen plugin - <code>$(".chzn-select").chosen()</code></li>
|
||||
<li><strong>Prototype Version:</strong> Add the class <em>chzn-select</em> to appropriate select boxes.</li>
|
||||
<li><strong>jQuery Version:</strong> Call the chosen plugin - <code>$(".chzn-select").chosen();</code></li>
|
||||
<li><strong>Prototype Version:</strong> Create a new instance of Chosen: New Chosen(<em>some_form_field</em>);</li>
|
||||
</ul>
|
||||
</ul>
|
||||
<li><a href="http://youtu.be/pS-RsIzb78U?t=57s">Disco</a>.</li>
|
||||
|
|
Loading…
Reference in a new issue