javascript - Why is <select>'s attribute 'value' can't be set? -


i've searched web couldn't find answer. know can set value javascript, why can't html?

there no valid attribute 'value' 'select' element. see http://www.w3schools.com/tags/tag_select.asp

you can set property dom element via javascript, not saying property has valid counterpart in html.

edit: better link here: https://www.w3.org/wiki/html/elements/select


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

SoapUI on windows 10 - high DPI/4K scaling issue -

java - why am i getting a "cannot resolve method" error on getApplication? -