Need help with select?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

zenorocha
133 Stars 18 Forks 40 Commits 1 Opened issues

Description

Programmatically select the text of a HTML element

Services available

!
?

Need anything else?

Contributors list

No Data

select

Build Status

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.querySelector('input');
var result = select(input);

Browserify

var select = require('select');
var input = document.querySelector('input');
var result = select(input);

License

MIT License © Zeno Rocha

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.