html - First option in a dropdown shows blank in IE9 -


i came across strange error in ie9.

here drop down code:

<select>     <option>1</option>     <option>2</option>     <option>3</option> </select> 

if don't mention 'selected' first option of dropdown, still gets selected across other browsers except ie9. works in ie8.

is bug or have mention 'selected' first option??

could me please??

yes should mention select first option. otherwise, shows option not selected.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -