A workaround is using DropDownList.selection property:
dialog.ddl.onChange = function() { for (var i = 0; i < options.length; ++i) { options[i].hide(); } options[this.selection.index].show(); };
A workaround is using DropDownList.selection property:
dialog.ddl.onChange = function() { for (var i = 0; i < options.length; ++i) { options[i].hide(); } options[this.selection.index].show(); };