garysieling / garysieling/jquery-highlighttextarea
"on click" event example
Open
- Dominant language
- JavaScript
- Stars
- 157
- Forks
- 72
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
Due to the closed ticket https://github.com/mistic100/jquery-highlighttextarea/issues/42 here a new (open) question:
I do not get to run the "on click" event example. I have tried:
```
...
Lorem ipsum dolor sit amet.
$('textarea').highlightTextarea({
words: ['Lorem ipsum'],
});
if(jQuery().highlightTextarea) {
console.log('Highlight Textarea ready....');
$('.highlightTextarea').on('click', 'mark', function() {
console.log('Highlight Textarea on click');
});
}
...
```
I am grateful for any help ...
..Thanks
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.