how to get id of selected value of dropdown in ajax code example Example: how to get the value of dropdown in jquery BY LOVE $('#ddlName option:selected').val();