我的代码:
<select id="select">
<option id="1" value="thai language">option one</option>
<option id="2" value="eng language">option two</option>
<option id="3" value="other language">option three</option>
</select>
<div id="form1">content here</div>
<div id="form2">content here</div>
<div id="form3">content here</div>
我想要的是在选择选项 1 并隐藏 form2+form3 时显示 div #form1,或者选择选项 2 显示 div#form2 并隐藏 form1+form2