get value of drop down by data attribute in jquery code example Example: how to get the value of dropdown in jquery BY LOVE $('#ddlName option:selected').val();