Widget:Agatha-test: mudanças entre as edições

sem sumário de edição
Sem resumo de edição
Sem resumo de edição
Linha 1: Linha 1:
<nowiki><link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
<div class="searchable">
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
    <input type="text" placeholder="search countries" onkeyup="filterFunction(this,event)">
</nowiki>
    <ul>
<select class="js-example-basic-single" name="state">
        <li>The most common colors are brown, blue, green and black</li>
  <optgroup label="Item 1">
        <li>158,987295 liters</li>
    <option value="01">The most common colors are brown, blue, green and black</option>
        <li>It has a powerful poison</li>
  </optgroup>
    </ul>
  <optgroup label="Item 2">
</div>
    <option value="02">158,987295 liters</option>
  </optgroup>
  <optgroup label="Item 3">
    <option value="03">It has a powerful poison</option>
  </optgroup>
</select>
 
<script>
$(document).ready(function() {
    $('.js-example-basic-single').select2();
});
</script>