Yu-Gi-Oh! Deck Building and Card Inventory Management web interface written in Common Lisp, utilizing HTMX.
Ви не можете вибрати більше 25 тем
Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
|
- <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>
|