Javascript Reference
Categories: oncut

javascript oncut Description

@Aug. 17, 2009, 9:06 a.m.
oncut Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  


Bubbles: Yes; Cancelable: Yes  

Fires after the user initiates the Cut command (via the Edit menu, a keyboard shortcut, or a context menu) to place a copy of the selected content into the system clipboard. To cut body content, the containing element must be in edit mode (see the shared contendEditable property). An event handler function for this event can supplement the cut action by placing additional data of your choice into the clipboardData object (which the onpaste event handler can read and handle as needed).


To give users access to a Cut menu command for an otherwise uneditable element, set event.returnValue to false in the onbeforecut event handler for the same object as the oncut event handler. On the other hand, to prevent user cutting of body or form control content, set event.returnValue to false for the oncut event handler.

Typical Targets

All rendered elements.

order atorvastatin 10mg without prescription <a href="">buy atorvastatin 10mg</a> atorvastatin 40mg brand
Lbxfuv - 4 months
lipitor 40mg cheap <a href="">buy lipitor 80mg without prescription</a> lipitor where to buy
Baeaif - 4 months
coursework in english
[url=""]coursework in english[/url]
coursework support
InessaEtPi - 1 years

Powered by Linode.