+ 5
Firing an event when clicked second time
I was just wondering that is there any way we can fire an event when a div is clicked every second time or when it is clicked alternatively
2 odpowiedzi
+ 3
Hum... I don't really know but I have been trying to simulate something alike. Didn't check out the web to see what was suggested but what occured to me is nested event handlers.
Say you have something.onclik(.....) then inside you also have something.onclick() and that is actually where stuff happens... Intuitively I feel it might work. I haven't tried it so I don't know for sure but might be worth a try...