The oncut Event


The oncut Event

The oncut event occurs when the user cuts an object or selection from a web page (as with the browser's Edit Cut menu item or by pressing Ctrl+X in Windows). You can find the support for this event in Table 6.65.

Table 6.65. The oncut Event

Event

NS2

NS3

NS4

NS6

IE3a

IE3b

IE4

IE5

IE5.5

IE6

oncut

             

x

x

x

In oncut events, your script is responsible for cutting the text or object from the page, if you want to do so. You can use properties such as innerHTML and innerText to do that.



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