SamSanju SamSanju - 1 year ago 71
jQuery Question

How to check DropDownlist is null or not in mvc using Jquery

How to check @Html.DropDownList("Countries","--select--") is null or not using Jquery

Answer Source

You can try like this

$('#mySelectList > option').length;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download