'onSelect' Example : onSelect « Event Handlers Reference « JavaScript Reference

'onSelect' Example

    
<html>
<body onselect="alert('The user is selecting some body object')">
   Try to select a portion of this text
</body>
</html>

    
      
      

Related examples in the same category

1.'onSelect' Syntax and Note
2.'onSelect' Properties
3.'onSelect' is applied to