I have a two-level ul / li menu in which li can fire different onclick events.
It seems that the parent event (ul li) is fired when you click on one element ul li ul. item.
Can I avoid this in a simple way.
(I'm considering using a timer to capture the second event, but I think this is an ugly fix ...)
Regards, / T
javascript html css
Teson
source share