Hi.
I have 2 combo:
{view:“combo”, id:“telecast_type_id”, label:“Тип”, options:{body:{url:“provider/telecast_type.php?cmd=get-records” }}}
{view:“combo”, id:“telecast”, disabled: true, label:“Telecast”, options:[{id:1, value: “Choos type”}] }
When first combo change second combo must reload data:
$$(“telecast_type_id”).attachEvent(“onChange”, function(newv, oldv){
telecast = $$(“telecast”);
telecast.define(“options”,“provider/telecast.php?cmd=get-records-for-id&telecast_type_id=”+newv);
telecast.refresh();
telecast.enable();
});
In work data in second como reload correct, but if first combo change choose in field of second combo show id value /
How correct it?