-2

I'm trying to add mouseenter handler to one of the control (PlanningCalendarAppointment). Thats what i have tried already.

control.attachEvent("mouseenter", function () {
       console.log("test"); // Fixed compilation error
});

but it doesnt give any effects.

Michal333
  • 65
  • 1
  • 9

1 Answers1

3

Please try .attachBrowserEvent instead of attachEvent:

control.attachBrowserEvent("mouseenter", function () {
       console.log("test"); // Fixed compilation error
});
Bernard
  • 1,208
  • 8
  • 15