oncopy (HTML attribute)




This attribute capture the event fired when the user carries out a copy operation of the content in the element to which the attribute is applied, either by selecting from a menu command or using a keyboard shortcut.


No fixed value - could be a call to one or more defined functions or a simple alert() statement.


Non-standard event defined by Microsoft for use in Internet Explorer. May work in some other browsers but cannot be reliably used. Compatibility for this non-standard attribute not tested.

User-contributed notes

There are no comments yet.

Related Products