L
L
Lavrov952018-03-03 15:45:23
AJAX
Lavrov95, 2018-03-03 15:45:23

How to send data to two URLs?

"ajax": {
                        "url": "<?= $this->url('index/json') ?>",
                        "url": "<?= $this->url('index/export-csv') ?>",
                        "type": "POST",
                        "data": function(data) {
                            data.searchFormFilters = $("#search").serializeArray();
                        }
                    },

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question