I want to make it so that on a first click i call one function for javascript, and on a second click i call another function for javascript. How can that be?
Basically i press on this image, it calls this function, if i press it again it calls another function. First then second.
Using html
See exmple here http://jsbin.com/uzivuj