Hello all,
Im just wondering is it possible to set the values of a select box dynamically..i.e say i have the dialog open, then when the user clicks a dialog button, the select box fills up with values.. ive tried the following two methods but neither work:
Im just wondering is it possible to set the values of a select box dynamically..i.e say i have the dialog open, then when the user clicks a dialog button, the select box fills up with values.. ive tried the following two methods but neither work:
this.getDialog().setValueOf( 'find', 'findByValue', ['Example', 'go'] ); // method 1 var contents = dialog.getContentElement('find', 'findByValue'); contents.items = [ ['id', 'id'], ['type', 'type']]; // method 2