I have this code:

<input type="text" placeholder="Paste text" onPaste="alert(this.value);">

this.value is returned as empty, not as the pasted value. How can I get the pasted value?

Edit
Report