Form:Inscription: Difference between revisions

From Cives
Jump to navigationJump to search
No edit summary
No edit summary
Line 65: Line 65:




var button = document.querySelector('.oo-ui-buttonElement-button');
buttonSubmit = document.getElementById("wpSave").children[0];


// Add onclick function
buttonSubmit.onclick = function() {
button.onclick = function() {
     var divContent = document.getElementById('field').innerHTML;
     var divContent = document.getElementById('field').innerHTML;
     document.getElementById('input_16').value =  divContent ;
     document.getElementById('input_16').value =  divContent ;

Revision as of 14:18, 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.