|
@@ -64,7 +64,7 @@ slug: home
|
|
|
Include the following lines of code in the <code><head></code>
|
|
|
section of your HTML.
|
|
|
|
|
|
-<pre class="code">
|
|
|
+<pre class="code prettyprint">
|
|
|
<link href="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.0-rc.2/css/select2.min.css" rel="stylesheet" />
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.0-rc.2/js/select2.min.js"></script>
|
|
|
</pre>
|
|
@@ -79,7 +79,7 @@ slug: home
|
|
|
Initialize Select2 on the <code><select></code> element that you
|
|
|
want to make awesome.
|
|
|
|
|
|
-<pre class="code">
|
|
|
+<pre class="code prettyprint">
|
|
|
<script type="text/javascript">
|
|
|
$('select').select2();
|
|
|
</script>
|
|
@@ -111,7 +111,7 @@ slug: home
|
|
|
Include the following lines of code in the <code><head></code>
|
|
|
section of your HTML.
|
|
|
|
|
|
-<pre class="code">
|
|
|
+<pre class="code prettyprint">
|
|
|
<link href="path/to/select2.min.css" rel="stylesheet" />
|
|
|
<script src="path/to/select2.min.js"></script>
|
|
|
</pre>
|