this is my div's onclick code:
The problem is that only the first two condition in AND are evaluated.. For example:
- calendarDay.active turns TRUE
- enableCalendarClickedEvent turns TRUE
- calendarClickedEventType turns FALSE
I expect the if do nothing, but it acts like condition are all TRUE.. If i change the order of the condition, it ignore always the last one. So, maybe it's a syntax error?