Form:Inscription: Difference between revisions

From Cives
Jump to navigationJump to search
No edit summary
No edit summary
Line 78: Line 78:
};
};


document.querySelector("#field").addEventListener("click", (e) => {
document.querySelector("#slikce").addEventListener("click", (e) => {
     if (e.target.closest("#field img")) {
     if (e.target.closest("#slikce img")) {
         e.target.closest("#field").removeChild(e.target);
         e.target.closest("#slikce").removeChild(e.target);
     }
     }
});
});

Revision as of 16:16, 3 April 2024

This is the "Inscription" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.