Hi,
there are several ways, depending on what exactly you want to trace
If you need to capture changes in html inputs of time selectors, you can access their elements and manually add onchange handler to them, e.g.
[code]scheduler.attachEvent(“onLightbox”, function(){
var time = scheduler.formSection(“time”);
var selects = time.node.getElementsByTagName(“select”);
for(var i = 0; i < selects.length; i++){
selects[i].onchange = function(){
// do something
}
}
var oldEvent = scheduler.getEvent(id);
if(oldEvent.start_date.valueOf() != formEvent.start_date.valueOf() ||
oldEvent.end_date.valueOf() != formEvent.end_date.valueOf()){
// do something
}
if (!ev.text) {
alert("Text must not be empty");
return false;
}
return true;