display selected item from dropdown onchange function into html label through javascript , please help how to it

后端 未结 2 349
轻奢々
轻奢々 2021-01-03 07:49

Javascript:

function copy() {
    document.getElementById("label").innerHTML = document.getElementById("mySelect").value
}

Otherwise you could use jQuery.

提交回复
热议问题