JQuery - how to select dropdown item based on id code example Example: get id value of html dropdown in jquery $('#dropDownId :selected').text();