Update create.php
This commit is contained in:
parent
73bacc57ef
commit
b69ffd1bef
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user