onclick event

scheduler.attachEvent(“onClick”, function (id,ev){

   alert("hello");

});
this is the simple code im trying but no alert comes.

Beware that it will fire only for clicking on event boxes, if you are clicking on empty space - you can use separate event - onEmptyClick

Thank you very much.