add second dropdown
parent
27feeffed9
commit
42cfb54615
@ -0,0 +1,8 @@
|
||||
let dropdown = document.getElementById("dropdown")
|
||||
let button = document.getElementById("button64")
|
||||
button.addEventListener(execute)
|
||||
|
||||
function execute() {
|
||||
if (dropdown.selectedIndex.text == "Infdev")
|
||||
dropdown.innerHTML += "<option value=\"inf-20100227\"></option>"
|
||||
}
|
Loading…
Reference in New Issue