a
This commit is contained in:
parent
2184063974
commit
3e83fef6e9
|
|
@ -187,7 +187,8 @@
|
|||
<!-- Message de retour -->
|
||||
<div id="upload-feedback" class="mb-3"></div>
|
||||
|
||||
<form id="form-upload" enctype="multipart/form-data" action="Remboursement" method="post">
|
||||
<!-- <form id="form-upload" enctype="multipart/form-data" action="Remboursement" method="post"> -->
|
||||
<form id="form-upload" enctype="multipart/form-data">
|
||||
<!-- <input type="hidden" id="csrf_token_upload" name="csrf_token_upload" value="<?= htmlspecialchars($token) ?>"> -->
|
||||
<input class="form-control" type="text" id="csrf_token_upload" name="csrf_token_upload" value="<?= htmlspecialchars($token) ?>">
|
||||
|
||||
|
|
@ -289,6 +290,8 @@
|
|||
|
||||
/* ---------- Soumission AJAX ---------- */
|
||||
form.addEventListener('submit', function (e) {
|
||||
alert("Soumission AJAX");
|
||||
return;
|
||||
e.preventDefault();
|
||||
clearError();
|
||||
feedback.innerHTML = '';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user