dongtong0796
dongtong0796
2016-09-28 07:12

下拉选择框选项在Chrome浏览器中不起作用

  • css
  • php
  • html
  • angularjs
  • javascript

when i select the language english in firefox then alert come but when i

select it in chrome then alert not display.i don't know what is wrong there.

below is the code of select box:

<select name="setlanguage" id="setlanguage" class="language" data-ng-model="setlanguage">

<option  onclick="alert();"><span>English</span></option>

<option><span>French</span></option>

</select>
  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答

为你推荐