Update create.php

This commit is contained in:
Jesse James Isler 2022-03-31 10:54:42 +02:00
parent 73bacc57ef
commit b69ffd1bef

View File

@ -31,7 +31,7 @@
<form>
<div class="row">
<div class="input-field col s3">
<input id="name" type="text" onchange="updateName()" class="validate">
<input id="name" type="text" onchange="updateName()">
<label for="name">Rolename</label>
</div>
<div class="input-field col s9">
@ -212,9 +212,11 @@
</div>
<!-- Updatescript -->
<script>
function updateName() {
document.getElementById("cardname").innerHTML = $('#name').val();
}
function updateHowToPlay() {
document.getElementById("thowtoplay").innerHTML = $('#howtoplay').val();
}