• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Using Core HTML Methods and E... > The onactivate, onbeforedeactivate, ...

The onactivate, onbeforedeactivate, and ondeactivate Events

The onactivate event occurs in an object when that object becomes the active element in the document (as with the focus or setActive methods). The onbeforedeactivate event occurs when an object is the active element and is about to be deactivated (as when another object is going to become the active element), and the ondeactivate event occurs when an object is deactivated. You can find the support for these events in Table 6.55.

Table 6.55. The onactivate, onbeforedeactivate, and ondeactivate Events
Method NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
onactivate         x x
onbeforedeactivate         x x
ondeactivate          x



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint