Answers for "delete option select2 jquery"

3

remove all options from select jquery

$('#mySelect')
    .empty()
Posted by: Guest on March-18-2020
1

jquery clear select 2

$('select2element').val(null).trigger("change")
Posted by: Guest on April-12-2021

Code answers related to "delete option select2 jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language