fastselect
fastselect copied to clipboard
Add new option to existing fastselect
I'm trying to do this by re-creating the fastselect instance in the same select element.
//add new <option> to <select> $select
$select.fastselect(options); //re-create fastselect
But it doesn't work. I also tried using the 'destroy' method just before calling '$select.fastselect(options);'.
A would like to add the new option at the first position.
Thanks you !
Same question as above.