jquery prop selected value code example Example: jquery select option by value $('.id_100 option[value=val2]').attr('selected','selected');