The document Object Events


The document Object Events

The document object also supports many events, as you see in overview in Table 9.7, and in more depth in Table 9.8. As you can see in Table 9.8, we've already covered nearly all the document object's events in Chapter 6.

Table 9.7. The Events of the document Object

Events

   

onactivate

onbeforeactivate

onbeforecut

onbeforedeactivate

onbeforeeditfocus

onbeforepaste

onclick

oncontextmenu

oncontrolselect

oncut

ondblclick

ondeactivate

ondrag

ondragend

ondragenter

ondragleave

ondragover

ondragstart

ondrop

onfocusin

onfocusout

onhelp

onkeydown

onkeypress

onkeyup

onmousedown

onmousemove

onmouseout

onmouseover

onmouseup

onmousewheel

onpaste

onpropertychange

onreadystatechange

onresizeend

onresizestart

onselectionchange

onstop

 
Table 9.8. The Events of the document Object

Event

NS2

NS3

NS4

NS6

IE3a

IE3b

IE4

IE5

IE5.5

IE6

onactivate

 

See Chapter 6.

onbeforeactivate

 

See Chapter 6.

onbeforecut

 

See Chapter 6.

onbeforedeactivate

 

See Chapter 6.

onbeforeeditfocus

 

See Chapter 6.

onbeforepaste

 

See Chapter 6.

onclick

 

See Chapter 6.

oncontextmenu

 

See Chapter 6.

oncontrolselect

 

See Chapter 6.

oncut

 

See Chapter 6.

ondblclick

 

See Chapter 6.

ondeactivate

 

See Chapter 6.

ondrag

 

See Chapter 6.

ondragend

 

See Chapter 6.

ondragenter

 

See Chapter 6.

ondragleave

 

See Chapter 6.

ondragover

 

See Chapter 6.

ondragstart

 

See Chapter 6.

ondrop

 

See Chapter 6.

onfocusin

 

See Chapter 6.

onfocusout

 

See Chapter 6.

onhelp

 

See Chapter 6.

onkeydown

 

See Chapter 6.

onkeypress

 

See Chapter 6.

onkeyup

 

See Chapter 6.

onmousedown

 

See Chapter 6.

onmousemove

 

See Chapter 6.

onmouseout

 

See Chapter 6.

onmouseover

 

See Chapter 6.

onmouseup

 

See Chapter 6.

onmousewheel

 

See Chapter 6.

onpaste

 

See Chapter 6.

onpropertychange

 

See Chapter 6.

onreadystatechange

 

See Chapter 6.

onresizeend

 

See Chapter 6.

onresizestart

 

See Chapter 6.

onselectionchange

               

x

x

 

Occurs when the text selection changes when the Internet Explorer is in the edit mode.

onstop

             

x

x

x

 

Occurs when the user clicks the browser's Stop button. See "Using onstop " in this chapter.



Inside Javascript
Inside JavaScript
ISBN: 0735712859
EAN: 2147483647
Year: 2005
Pages: 492
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net