I have the below functions in regular JavaScript creating select options. Is there a way I can do this with jQuery without having to use the form object? Perhaps storing the
What about
var option = $(''); option.attr({ 'value': 'myValue' }).text('myText'); $('#county').append(option);