I have a select field with some options in it. Now I need to select one of those options with jQuery. But how can I do that when I only know the
select
options
To select an option with value 'val2':
$('.id_100 option[value=val2]').attr('selected','selected');