create select option using div javascript code example
Example: make select option selected javascript
document.getElementById('personlist').getElementsByTagName('option')[11].selected = 'selected'
document.getElementById('personlist').getElementsByTagName('option')[11].selected = 'selected'