aa
This commit is contained in:
@@ -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>
|
||||||
Reference in New Issue
Block a user