Problem with search highlights
Problem with search highlights
hm123
Posts: 84Questions: 27Answers: 1
I've been trying to get the mark.js search highlight plugin to work as described here:
https://datatables.net/blog/2017-01-19
But it doesn't seem to work in my implementation:
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You are getting some JS errors indicating jQuery is not found loading bootstrap and mark.js. I think the problem is that you are loading some JS within the HTML section and some using the "External Resources" area of jsfiddle. It looks like the files in the "External Resources" are loaded first causing the errors.
You don't want to load Bootstrap since you are using Semantic UI. Since you already have your JS and CSS includes in the HTML section I would move the two mark.js files there and remove all from the "External Resources". Don't load Bootstrap.
Kevin
It was that external resources vs internal load thing again. Should have known. Thanks for pointing that out Kevin.