Answers for "how to make option tag as selected"

1

make select option selected javascript

document.getElementById('personlist').getElementsByTagName('option')[11].selected = 'selected'
Posted by: Guest on October-07-2020

Code answers related to "how to make option tag as selected"

Browse Popular Code Answers by Language