yii 用代码
生成的页面
如何给 dropDownList() 添加JS事件,使生成出来的HTML具有这个属性
<select id="img_tid"....></select> <script> document.getElementById('img_tid').onchange=function(){showUser(this.value)} </script>