Update create.php

This commit is contained in:
Jesse James Isler 2022-03-31 10:58:15 +02:00
parent b69ffd1bef
commit 89d541e8ab

View File

@ -210,9 +210,9 @@
</div>
</div>
</div>
<!-- Updatescript -->
<script>
function updateName() {
document.getElementById("cardname").innerHTML = $('#name').val();
}
@ -224,12 +224,12 @@
let li = document.createElement('li');
li.textContent = name;
return li;
}
function updateGoodRoles() {
}
function updateGoodRoles() {
goodRoles = $('#goodRoles').val();
goodRoles.forEach(element => document.getElementById("tplaysbestwith").appendChild(createMenuItem(element)); )
);
}
}
function updateDescription() {
document.getElementById("carddescription").innerHTML = $('#description').val();
}