The onpaste event occurs when the user pastes some content in an element.
Although the onpaste event is supported by all HTML elements, it is not
actually possible to paste some content in, for example, a <p> element,
unless the element has set contenteditable to "true". The onpaste event is
mostly used on <input> elements with type="text". There are three ways
to paste some content in an element:
- Press CTRL + V
- Select "Paste" from the Edit menu in your browser
- Right click to display the context menu and select the "Paste" command.
IMPORTANT !!!
By default the value of the event is transport to server.