why ajax does not work in customer dashboard ?


New Member
Hello !
i am working on mailwizz and i would to pull data from database and display it as a chart (pie , bar, doughnut etc ...)
in fact I want to customize / dynamize thumbnails with title : Recent activity, Subcriber growth etc ...

So I realized my own js functions -ajax- (it works wonderfully on another file)
then i implanted it in the index dashboard code (apps\customer\views\dashboard\index.php) and unfortunately it does not work!

I know I should respect the MVC structure,
but for now I have an urgent task
and I would like the code to be in the index file

how can I run ajax in that index file