8553a8b6b9c561ac6742a411db7ee95bae04b486
网上查了查w3c,发现标准的用例使用的是selected="selected",而在js代码中使用selected=true来更改状态,具体可见下列网址:
1.在html标签中使用selected="selected"
http://www.w3school.com.cn/tags/att_option_selected.asp
2.在js中使用selected=true
http://www.w3school.com.cn/jsref/prop_option_selected.asp
Typecho Blogging Platform
####Homepage http://typecho.org/
####Document http://docs.typecho.org/
####Forum http://forum.typecho.org/
####Download http://typecho.org/download
Languages
PHP
72.8%
JavaScript
23%
SCSS
2.9%
CSS
1%
Dockerfile
0.2%
Other
0.1%