Question: how to set dropdown selected value in jquery dynamically?
Answer: $('option[value=valueToSelect]', newOption). attr('selected', 'selected'); I.e. set the selected attribute of the option you want to select.