'onSelectionChange' Example : onSelectionChange : Event onMethod JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Event onMethod » onSelectionChange »

 

'onSelectionChange' Example



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

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Event onMethod
» onSelectionChange