Is it possible to built multiple comboboxes at runtime programatically? I’m doing:
var root = document.getElementById(‘root’);
var selectLength = document.getElementsByTagName(‘select’).length;
var selectlist = document.createElement(‘select’);
selectlist.id = “select” + selectLength;
selectlist.onclick = ‘alert();’;
var ops = new Array(“first”, “second”, “thrid”, “fourth”, “fifth”);
for (var i = 0; i < ops.length; i++) {
var o = document.createElement(“option”);
var t = document.createTextNode(ops[i]);
o.setAttribute(“value”, ops[i]);
o.appendChild(t);
selectlist.appendChild(o);
}
root.appendChild(selectlist);
And need the ability to add multiple jqxComboBox comboboxes. I may need to create 10 or more boxes based upon the selected value of the prior selected value, can this be done using jqxComboBox?
Thanks