getElementById for CheckedList?
Hello,
I want to get the selected Items of a CheckedList. I create the CheckedLists dynamically:
How can I get the CheckedList object with something like the getElementById function, e.g.:
or something else
I want to get the selected Items of a CheckedList. I create the CheckedLists dynamically:
for (var i = 2; i < trSettingName.cells.length; i++) {
[...]
var checkedList = new AW.UI.CheckedList;
checkedList.setId('cmbDimension_ID' + i);
checkedList.setItemText(arrItemText);
checkedList.refresh();
}
How can I get the CheckedList object with something like the getElementById function, e.g.:
var checkedList = document.getElementById('cmbDimension_ID' + i);
alert(checkedList.getSelectedRows());
or something else
var checkedList = new AW.UI.CheckedList;
checkedList.getElementById('cmbDimension_ID' + i);
Alex
May 29,