| Chapter 1 | | | Chapter 2 | | | Chapter 3 | | | Chapter 4 | | | Chapter 5 | | | Chapter 6 |
| Chapter 7 | | | Chapter 8 | | | Chapter 9 | | | Chapter 10 | | | Chapter 11 | | | Chapter 12 |
| Objects and Associated Event Handlers | |
|---|---|
| Object | Event Handler |
| button | onClick, onDblClick |
| document | onLoad, onUnload |
| form | onSubmit, onReset, onBlur, onKeydown, onKeypress, onKeyup |
| hyperlink | onClick, onMouseover, onMouseout, onDblClick, onMousemove, onMousedown |
| image | onLoad, onAbort, onError, onMousemove, onMousedown |
| input box | onBlur, onChange, onFocus, onKeypress, onKeyup, onKeydown |
| Submit button | onClick |
| window | onLoad, onUnload, onBlur, onFocus |
| This is a great example of what can be done in a webpage with javascript. I did not create this script, however I fully understand it and I was able to edit and re-create it for consistency with the rest of my website. | ||||||||
|
| Source Code: | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Chapter 1 | | | Chapter 2 | | | Chapter 3 | | | Chapter 4 | | | Chapter 5 | | | Chapter 6 |
| Chapter 7 | | | Chapter 8 | | | Chapter 9 | | | Chapter 10 | | | Chapter 11 | | | Chapter 12 |
| top | |< back | next >| |