select
Programmatically select the text of a HTML element.
Install
You can get it on npm.
npm install select --save
Or bower, too.
bower install select --save
If you're not into package management, just download a ZIP file.
Usage
Standalone
var input = document;var result = ;
Browserify
var select = ;
var input = document;var result = ;
License
MIT License © Zeno Rocha