Length of options in Combobox

How can i get how many options are present in my combo box object? i mean the size?


There is the optionArr property - a collection of combo options. So, you can use the following approach:


var count = combo.optionsArr.length;