onPaste (Event handler)

Called when a Paste operation is requested by the user.


JScript - 5.0
Internet Explorer - 5.0
JavaScript syntax:IEmyObject.onpaste = aHandler

This is useful if you want to intercept and possibly block a paste operation where the user may be attempting to paste some external content into a text field. Perhaps you do want to let them do it but you want to be sure the contents are checked for data integrity.

See also:Event, Event handler, Event model, Event names, Event object, Event.returnValue, Handler, onCopy, onCut, Semantic event