Answers for "clear select html"

1

jquery select clear options

$('#mySelect')
    .find('option')
    .remove()
    .end()
    .append('<option value="whatever">text</option>')
    .val('whatever')
;
Posted by: Guest on April-15-2021
0

Clear ComboBox selected text

comboBox1.SelectedIndex = -1;
Posted by: Guest on February-22-2021

Browse Popular Code Answers by Language