Update create.php
This commit is contained in:
parent
b69ffd1bef
commit
89d541e8ab
@ -210,9 +210,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Updatescript -->
|
<!-- Updatescript -->
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
function updateName() {
|
function updateName() {
|
||||||
document.getElementById("cardname").innerHTML = $('#name').val();
|
document.getElementById("cardname").innerHTML = $('#name').val();
|
||||||
}
|
}
|
||||||
@ -225,10 +225,10 @@
|
|||||||
li.textContent = name;
|
li.textContent = name;
|
||||||
return li;
|
return li;
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateGoodRoles() {
|
function updateGoodRoles() {
|
||||||
goodRoles = $('#goodRoles').val();
|
goodRoles = $('#goodRoles').val();
|
||||||
goodRoles.forEach(element => document.getElementById("tplaysbestwith").appendChild(createMenuItem(element)); )
|
goodRoles.forEach(element => document.getElementById("tplaysbestwith").appendChild(createMenuItem(element)); )
|
||||||
);
|
|
||||||
}
|
}
|
||||||
function updateDescription() {
|
function updateDescription() {
|
||||||
document.getElementById("carddescription").innerHTML = $('#description').val();
|
document.getElementById("carddescription").innerHTML = $('#description').val();
|
||||||
|
Loading…
Reference in New Issue
Block a user