Cleaned up script.php
This commit is contained in:
parent
51097f79c3
commit
3fc3a50699
2 changed files with 4 additions and 7 deletions
|
|
@ -255,6 +255,6 @@
|
|||
<br>
|
||||
<div id="result"></div>
|
||||
|
||||
<?= include "script.php" ?>
|
||||
<?php include "script.php" ?>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,6 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<script>
|
||||
<script>
|
||||
document.getElementById('bookForm').addEventListener('submit', function (e) {
|
||||
e.preventDefault(); // prevent normal form submission
|
||||
|
||||
|
|
@ -191,5 +189,4 @@ document.querySelector("#borrowerSelect").addEventListener("change", function ()
|
|||
copySelect.innerHTML = '<option value="">Bitte zuerst einen Ausleiher wählen</option>';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue