https://github.com/megahertz/jquery.get-word-by-event
jQuery GetWordByEvent plugin
https://github.com/megahertz/jquery.get-word-by-event
Last synced: 11 months ago
JSON representation
jQuery GetWordByEvent plugin
- Host: GitHub
- URL: https://github.com/megahertz/jquery.get-word-by-event
- Owner: megahertz
- License: mit
- Created: 2014-01-29T17:49:35.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-08-05T12:32:56.000Z (almost 11 years ago)
- Last Synced: 2023-04-09T12:21:12.607Z (about 3 years ago)
- Language: JavaScript
- Size: 122 KB
- Stars: 7
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GetWordByEvent jQuery plugin
========================
This plugin allows to get the word under cursor
Require: jQuery 1.7+
install
-------
Include jQuery and plugin JavaScript files:
```html
```
example
-------
```js
$('p').getWordByEvent('click', function(e, word) {
alert('You have clicked "' + word + '" word')
});
```