... model and the W3C’s is the single biggest annoyance, since it is an incompatibility that has to be dealt with each and every time you want to attach and handle events, the most common task a JavaScript ... side-by-side and makes them perfectly square boxes with a gray border and murky sky-blue backgrounds. The following JavaScript adds some remedial mouseover, mouseout, and click interactions: ... objects: the HTML document (Figure 3-1.html), the JavaScript document (Figure 3-1.js), and the rendered output of the HTML and JavaScript in Safari. In the JavaScript, there is an event that fires once...