I am attempting to retrieve and set the selected value of a select element (drop down list) with jQuery.
for retrievel i have tried $(\"#myId\").find(\':select
$(\"#myId\").find(\':select
$( "#myId option:selected" ).text(); will give you the text that you selected in the drop down element. either way you can change it to .val(); to get the value of it . check the below coding
Mr Mrs Ms` Dr Prof