87,993
社区成员
发帖
与我相关
我的任务
分享<select onchange="show(this)">
<option value="北京">
....
<div id="data" style="display:none"><input></div>
function show(x)
{
if(x.options[x.selectedIndex].value=="北京")
{
document.getElementById("data").style.display=""
}
else
{
document.getElementById("data").style.display="none"
}
}