默认显示月报,当点击它以后,下拉列表里面的月报不在显示..
div模拟。。直接用select没搞。。当然你用也行,click事件中删除你的月报那个option,但是会默认选中1月的。。也无法再显示出来。。
div模拟的:http://www.17sucai.com/pins/tag/542.html
<select onclick="if(this.options[0].text=='月报')this.removeChild(this.options[0])"><option>月报</option>
<select onclick="document.getElementById('idName').style.display='none'"></select>