Difference between revisions of "Team:Pasteur Paris/test"

Line 3: Line 3:
  
 
<script type="text/javascript">
 
<script type="text/javascript">
$("#filters").chosen().change(function(event) {
+
$("#select-chosen").chosen().change(function(event) {
 
     alert(test);
 
     alert(test);
 
     //console.log('select2 change', event, $(event.target).val());
 
     //console.log('select2 change', event, $(event.target).val());
Line 15: Line 15:
 
Search for a content:
 
Search for a content:
 
<!-- multiple dropdown -->
 
<!-- multiple dropdown -->
<select data-placeholder="Choose an option..." class="chosen" multiple="true" style="width:400px;">
+
<select data-placeholder="Choose an option..." id="select-chosen" class="chosen" multiple="true" style="width:400px;">
 
<option>Choose...</option>
 
<option>Choose...</option>
 
<option>jQuery</option>
 
<option>jQuery</option>

Revision as of 08:39, 17 July 2015

Notebook

Search for a content: