How to modify data from $.ajax call?
I have two .html, content.html and footer.html.
content.html
footer.html
copyright
i made a ajax call for content.html, then i want to append the footer.html to the data(content), before showing it.
i have tried this.
$.ajax({
url: "filecheck.php", // Your server-side script
data: { file: filePath }, // Pass the file path to the server-side script
dataType: "html",
async: false,
success: function (data) {
if (data === "error") {
// If the server returns an error,...