This plugin allows to get the word under cursor
Require: jQuery 1.7+
Include jQuery and plugin JavaScript files:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="jquery.get-word-by-event.js"></script>
$('p').getWordByEvent('click', function(e, word) {
alert('You have clicked "' + word + '" word')
});