An open API service indexing awesome lists of open source software.

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

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')
});
```