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

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Event Handlers Reference » onSelectionChange 




'onSelectionChange' Example

    
<head>
<script language="JavaScript" for=document event=onselectionchange>
   alert('The selection has changed');
</script>
</head>
<body>
<p>Copy this text into the textarea element below.</p>
<form>
<textarea cols=30 contenteditable=true>Click here</textarea>
</form>
</body>

    
      
      














Related examples in the same category
1.'onSelectionChange' Syntax and Note
2.'onSelectionChange' Properties
3.'onSelectionChange' is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.