Yu-Gi-Oh! Deck Building and Card Inventory Management web interface written in Common Lisp, utilizing HTMX.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <script>
- $(document).ready(function() {
- const fileInput = document.querySelector('{{ target }} input[type=file]');
- fileInput.onchange = () => {
- if (fileInput.files.length > 0) {
- const fileName = document.querySelector('{{ target }} .file-name');
- fileName.textContent = Array.from(fileInput.files).map(x => x.name);
- }
- }
- });
- </script>
|