How to get chosen to display search value. It is not showing the options inside the select.
HTML
<select id="habilidades" name="habilidades[]" multiple class="input col-lg-10 chosen-select margem20" required>
</select>
SCRIPT
$("#subcategoria").change(function(){
$.post("inc_habilidades.php",
{id:$(this).val()},
function(valor2){
$("#habilidades").html(valor2)
}
)
})
$(".chosen-select").chosen();
The return of the inc_habilidades.php file, are not appearing inside the select