Programmatically select the text of a HTML element
npm install select
Programmatically select the text of a HTML element.
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.
`html`
`js`
var input = document.querySelector('input');
var result = select(input);
`js`
var select = require('select');
`js``
var input = document.querySelector('input');
var result = select(input);
MIT License © Zeno Rocha