Corrected Setup instructions for Prototype Version - 'New' -> 'new'. Improved formatting.
This commit is contained in:
parent
13f5487733
commit
af26922106
|
@ -1265,8 +1265,10 @@
|
|||
<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> Create a new instance of Chosen: New Chosen(<em>some_form_field</em>);</li>
|
||||
<li><strong>jQuery Version:</strong><br/>
|
||||
Call the chosen plugin: <code>$(".chzn-select").chosen();</code></li>
|
||||
<li><strong>Prototype Version:</strong><br/>
|
||||
Create a new instance of Chosen: <code>new Chosen(some_form_element);</code></li>
|
||||
</ul>
|
||||
</ul>
|
||||
<li><a href="http://youtu.be/pS-RsIzb78U?t=57s">Disco</a>.</li>
|
||||
|
|
Loading…
Reference in a new issue