Descrição
You: Hey, Andrew, how can I make this web page do something cool when the user clicks this button?
Me: You’ll want to add a click event handler to that button; you can do that in your JavaScript.
You: Sounds intense; what do I do?
Me: Well, it’s not that hard … as long as you remember to do it both the IE way and the right way … and add support for older browsers that only use DOM 0 event handling. Oh, and don’t forget that IE doesn’t pass an events object and doesn’t let this
represent the element receiving the event … unless you use this neat hack from—
You: Whoa, whoa, whoa; sounds ultra intense, can’t you just show me how to do it all in one succinct tutorial and hour-long screencast?
Me: Funny you should ask; that’s exactly what I’m offering here. And if you have any questions after you’ve gone through it, just shoot me an email from my profile page!