//获取options的长度,删除所有直接赋值等于0obj.options.length//获得索引obj.selectedIndex[index];//获得索引文本obj.selectedIndex
//获取options的长度,删除所有直接赋值等于0obj.options.length//获得索引obj.selectedIndex[index]; //获得索引文本obj.selectedIndex[index].text//获得索引valueobj.selectedIndex[index].value//添加选项option obj.options.add(new Option("文本","值")); //这个兼容IE与firefox //修改选项optionvar val = obj.options[index]=new Option("新文本","新值");