Answers for "clear select option 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 "clear select option jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language