Mega Code Archive

 
Categories / JavaScript DHTML / Document
 

Selection type Detail Example

<html> <body> <p>Select a portion of the sample text here. Then click the button</p> <input type="button" value="Click here" onclick="alert(document.selection.typeDetail);"> </body> </html>