count = 0;
$("#SelectClientForExport option").each(function ( )
{
count++;
});
alert(count);
or either use
alert( $("#SelectClientForExport option").size());
$("#SelectClientForExport option").each(function ( )
{
count++;
});
alert(count);
or either use
alert( $("#SelectClientForExport option").size());
No comments:
Post a Comment