I have some combo on the page.
I may add options to combo using input, input and button.
In link (in Angular directive) I define
var z = new dhtmlXCombo("seltas"+index, "name", 10);
z references on last combo on the page so if I used z.addOption() only last combo has new option.
How can I fix it?
p.s. I devised one knotty decision but it has such long code.