'onBeforePaste' Example : onBeforePaste « Event Handlers Reference « JavaScript Reference
- JavaScript Reference
- Event Handlers Reference
- onBeforePaste
'onBeforePaste' Example
<html>
<body>
<p>Copy this text and paste it into the textarea element below.</p>
<form>
<textarea cols="60"
onbeforepaste="alert('The text is on the verge of being pasted')">
</textarea>
</form>
</body>
</html>
Related examples in the same category