mouse click event listener javascript





I am trying to learn JavaScript and I am wondering whether JavaScript has a event listener just like ActionScripts ENTERFRAME. Basically, I want this event listener to listen "all the time" not just wait for any particular instance ( mouse click, keyboard event) of event. Any URLs added here will be added as