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(':selected').val(), as well as $("#myId").val() but both return undefined.
Any insight into this problem would be much appreciated.
thanks in advance