I’m trying to get the value of certain combo options by getOptionByIndex(index)
it returns [object][object]…
thanks.
Method return Option object , you can take label and value from it as
var option = combo.getOptionByIndex(index)
var label = option.text
var value = option.value