javascript - Adding options to a select using jQuery?
Опубликовано: 29 Сентябрь 2024 на канале: Code Samples
329
3
#short
#javascript
#jquery
#html-select
What's the easiest way to add an option to a dropdown using jQuery?
Will this work?
$("#mySelect").append('option value=1My option/option');