how to get the id of a selected value in dropdown code example Example: get id value of html dropdown in jquery $('#dropDownId :selected').text();