I have tried to add apexchart to a page.
However, when I copied the code from Apexchart demo and put in the target file.
I got this error Uncaught ReferenceError: KTUtil is not defined.
Here is the direct link to the file
https://brave-montalcini.174-138-29-224.plesk.page/theme/demo19/dist/utilities/search/new-horizontal.html
It seems like I don't have KTUtil function in my package.
Thanks in advanced!
Hi,
Please make sure you execute your JS code on all dependent js resources are loaded. You can use
// On document ready, put this after all JS includes:
KTUtil.onDOMContentLoaded(function() {
// run your code
});