Inside JavaScript

The onbeforecopy Event

The onbeforecopy event occurs before a selection is copied to the system clipboard (as with the browser's Edit Copy menu item, or by pressing Ctrl+C in Windows). You can find the support for this event in Table 6.56.

Table 6.56. The onbeforecopy Event

Method

NS2

NS3

NS4

NS6

IE3a

IE3b

IE4

IE5

IE5.5

IE6

onbeforecopy

             

x

x

x

Unlike similar events such as onbeforecut , this event does not occur for form input elements.

Tip

For an example using the clipboard, see "The oncopy Event" in this chapter.

Категории