'selection' Example : selection « Javascript Objects « JavaScript DHTML






'selection' Example

    
<html>
<body>
<body onclick="alert(document.selection.type);">
<p>Select this text</p></body>
</body>
</html>

    
      
      








Related examples in the same category