What’s the easiest way to add an option
to a dropdown using jQuery?
Will this work?
$("#mySelect").append('<option value=1>My option</option>');
What’s the easiest way to add an option
to a dropdown using jQuery?
Will this work?
$("#mySelect").append('<option value=1>My option</option>');