Form:Inscription: Difference between revisions

From Cives
Jump to navigationJump to search
No edit summary
No edit summary
Line 53: Line 53:
<script type="text/javascript">
<script type="text/javascript">
document.querySelector("#slikce").addEventListener("click", (e) => {
document.querySelector("#slikce").addEventListener("click", (e) => {
     if (e.target.closest("#slikce img")) {
     let targetDiv = document.getElementById("slikce");
        e.target.closest("#slikce").removeChild(e.target);
    targetDiv.removeChild(targetDiv.lastElementChild);
    }
});
});



Revision as of 16:23, 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.