I submit a form trigger Form_Save。
var Form_Save = function(){
dhx.notice({
delay: 1000,
css: "sys-msg",
top: 200,
message: "Submit..."
});
dhx.ajax().post(
url, {
"text": $$("W_text").getValue()
},
function(text, xml) {
var data = dhx.DataDriver.json.toObject(text, xml);
if (data.results == "ok") {
dhx.notice({
delay: 1000,
css: "sys-msg",
top: 200,
message: "Submit OK!"
});
}
});
}
Sometimes the two notice will overlap,I hope that the notice only show。
When data.results == “ok” auto-hide the front notice?
How do I set, Alexandra?