onpaste of type Function

Occurs when the user pastes data, transferring the data from the system clipboard to the document.

To invoke after copying or cutting text, right-click and select Paste from the shortcut menu, or press Ctrl+V.

  • Bubbles: Yes

  • Cancelable: Yes

  • Context Info: dataTransfer

This attribute is an extension to HTMLElement.

See also onbeforecopy, onbeforecut, onbeforepaste, oncopy, oncut.