I want each click “button” refresh “Mt_bd”, Similar to forced load。
{
view: "template",
id: "Mo_bd",
template: function(data){
return data.id;
}
How to achieve this?
I use the code only once。
var result = dhx.ajax().sync().get(Api.url);
$$("Mt_bd").parse(result.responseText);
or
$$("Mt_bd").load(Api.url);