i want to send array in ajax json post ,but some code are error.how to fig this code?
HTML
-
2021-01-26 18:14
It's the way you have the click events set up that are causing you your problems.
It should look more like this:
$('#save-menu').click(function() {
$.post(... ajax stuff...);
});