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