js怎么得到option个数javascript获取select下option个数常用代码有:obj = document.getElementById(select_id)obj.lengthobj.options.lengthobj.children.lengt2023-04-20JavaScript280