Open phodmin opened 6 years ago
I recommend you to use the full version of jQuery (not the slim), at least if you're not sure of the elements you're using. Please try to implement it on your on and try again.
Google jQuery, there's a lot of information for it.
Thanks! I simply removed the Bootstrap JQuery link in js.php and it works, I guess the slim version somehow had overridden the full version, dunno.
So I'm trying to implement a delete button for the pages page as in Videos 68-70 but even though I checked all the code, did everything step by step and checked it is written the same way in this code repository, it just does not seem to work.
The problem FireBug states when I try to debug it is that the Javascript function $.get() does not exist, but Alan uses it the same way in his code. I'm sending related classes too.
js.php
pages.php (in ../admin/ajax/pages.php)
Neither the visual deletion nor the database deletion doesnt work and $.get seems to be the problem, but I dont know why, pls help.