Form:Inscription: Difference between revisions

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


<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
<input type="hidden" id="html_input" name="html_input">
{{{for template|Inscription}}}
{{{for template|Inscription}}}
<html>
<html>
Line 44: Line 45:
     </tr>
     </tr>
</table>
</table>
<div id="field">
<div id="IDfield">


</div>
</div>
Line 59: Line 60:
     document.getElementById("field").appendChild(slika)
     document.getElementById("field").appendChild(slika)
};
};
    // Get the HTML content of the div
    var divContent = document.getElementById('IDfield').innerHTML;
    // Set the value of the hidden input field to the HTML content of the div
    document.getElementById('html_input').value = divContent;
</script>
</script>
</html>
</html>

Revision as of 13:24, 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.