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
139 Stars 18 Forks 40 Commits 1 Opened issues

Description

Programmatically select the text of a HTML element

Services available

!
?

Need anything else?

Contributors list

# 413
JavaScr...
conemu
bracket...
Zsh
31 commits
# 703,989
HTML
JavaScr...
2 commits
# 213,960
CSS
elm
Shell
travis-...
1 commit
# 1,249
ESLint
casperj...
cython
jython
1 commit
# 158,245
Databas...
HTML
CSS
MongoDB
1 commit
# 36,022
Go
Docker
pipelin...
elm
1 commit

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.