This commit is contained in:
paoloar77
2024-05-20 23:26:30 +02:00
parent 4e95f7fef1
commit 41320b5b36

View File

@@ -1,12 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Link Page</title> <title>Link Page</title>
</head> </head>
<body> <body>
<h1>Links</h1> <h1>Links</h1>
<form id="articleForm"> <form id="articleForm">
@@ -26,17 +24,15 @@
let formData = new FormData(this); let formData = new FormData(this);
fetch('{{ route(' fetch('{{ route('handleArticleActionPao') }}', {
handleArticleActionPao ') }}', { method: 'GET',
method: 'GET', body: formData
body: formData })
}) .then(response => response.text())
.then(response => response.text()) .then(data => {
.then(data => { document.getElementById('result').innerHTML = data;
document.getElementById('result').innerHTML = data; });
});
}); });
</script> </script>
</body> </body>
</html> </html>