Announcement

Get the total number of items of drop down using jquery


DropDownId is the id of the DropDown whose items you would like to count.

var items = $('#DropDownId>option').length;

No comments: