Horje

Example of HTML oncut Event Attribute

It will Execute a JavaScript when cutting some text in an <input> element.
index.html
Example: HTML
 <input type="text" oncut="myFunction()" value="Try to cut this text"> 

Output should be:

Example of HTML oncut Event Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Clipboard Events Attribute
Uploaded by:
Admin