I have 2 sheet of csv in different .php file and they give an output with php://output.
when the user click a single link, i want to run multiple links.
I tried like this, but it ran the only last link:
<a onclick="$.csvIndir();" class="btn btn-warning btn-lg">SAP Raporu</a>
$.csvIndir = function() {
window.location.href = "finansuzmaniCSVRaporu_Nakit.php";
window.location.href = "finansuzmaniCSVRaporu_Kredi-Karti.php";
//window.location.href = "index.php";
}