Is there a way to look up a specific option list id using the ItemText?
Have been tooling around with something like this, but cannot seem to get it right
var t = this.getAllListOptionText(“tbOptionList”).indexOf(Name);
Is there a way to look up a specific option list id using the ItemText?
Have been tooling around with something like this, but cannot seem to get it right
var t = this.getAllListOptionText(“tbOptionList”).indexOf(Name);
I found I can do the following, however if a reverse lookup function already exists I would rather use that.
for (var i = 0; i < lsTags.length; i++) {
if (this.getListOptionText(“tbOptionList”, lsTags[i]) == Name) {
lOptionID = lsTags[i];
break;
}
}