I wanted to know if there is a better way to insert option
into select
with jquery.
Example:
<select name="municipio_evento" id="municipio_evento">
<option value=""></option>
<option value="1">ACEGUA</option>
<option value="2">AGUA SANTA</option>
<option value="3">AGUDO</option>
<select>
I know I can do it this way:
$('#municipio_evento').append('<option value="4">AGUAS CLARAS</option>');
If anyone has any suggestions or ideas, thank you.