select之间的关联控制
我定制了两个控件。
<select name=select1>
<option selected>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
<select name=select2>
<option selected>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
</select>
当seelct1选中一个值后,select2里的内容随着这个值的变化而变化。
比如select1选中"地区"后seelct2的内容是全国各个省份
比如select1选中"行业"后seelct2的内容是各个具体行业
用什么实现?JavaScript?