You should login or register.
JavaScript was originally created in order to make web-pages alive. JavaScript programming is event handling. In the browser, they connect directly to HTML and, as soon as the page loads, they are immediately executed. Using JavaScript, the programmer determines how the page responds to user actions.