Form:Inscription: Difference between revisions

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


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

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.