jq-options
v0.0.2
Published
Dynamically create options of a select form element
Downloads
2
Readme
jQuery Options
$('#my-select-input').options([ 'text/plain', 'application/json', 'image/png' ], 'Select the content type...');
$('#my-select-input').options([
{ name: 'Español (Argentina)', value: 'es_AR' },
{ name: 'English (United States)', value: 'en_US' },
{ name: 'Português (Brasil)', value: 'pt_BR' }
]);