garysieling / garysieling/jquery-highlighttextarea
jQuery is not defined
- Dominant language
- JavaScript
- Stars
- 157
- Forks
- 72
- PR merge metrics
- No merged PRs in 30d
Description
------ Check other post below -----
Uncaught ReferenceError: jQuery is not defined
at jquery.highlight-within-textarea.js:380
Gives me that error, I downloaded it with npm, included the files like this in my HTML
I can see that the linkage works as no 404 in console.
$('textarea').highlightTextarea({
words: ['Lorem ipsum', 'vulputate']
});
Uncaught ReferenceError: $ is not defined (I assume this one is related to the first error)
Any suggestions? Thanks.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the reported page using jquery.highlight-within-textarea.js at line 380 and the HTML inclusion order shown in the issue. Check how the library is loaded and how the textarea initialization is reached; done means the reported jQuery and $ errors are resolved or the required usage is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100