| onFocus |
| The instruction(s) to be executed are placed within quotes. This event handler will execute the instruction(s) when the object it has been assigned to is 'focused on'. For example, when a cell of a table has been made active by either clicking on it or tabbing to it, you've satisfied its 'focus'. That is, the cell has become the 'focus' of attention. The following example will display text of your choice when the focus is met: |
| onFocus="msgWindow.document.write('-- Insert text message here --')" |
This Event Handler is used with the following: A APPLET AREA BUTTON CAPTION DIV EMBED FIELDSET IMG LEGEND MARQUEE OBJECT TABLE TEXTAREA |