I know how to bind multiple events and all that stuff. What I want to do is have multiple events occur to trigger a function.
Like
$(this).click and $(this).mousemove triggers a function
Is there a way to do this? Is it possible or am I just dreaming.
With a better understanding now, one thing you could do is have one event
bindandunbindthe other:Example: http://jsfiddle.net/ZMeUv/
This prevents the
mousemovefrom constantly firing when you have no need for it.