更新时间:2023-12-05 15:09:34
这个功能应该是这样的!其他不是其他!它的区分大小写(在linux上无论如何......不确定其他操作系统)否则,谢谢......一直在寻找...很酷的显示/隐藏方式
the function should be like this! Other not other ! its case sensitive (on linux anyway...not sure about other os) Otherwise thanks...been looking for this...cool way of show/hide
<script type="text/javascript">
function show_txt(arg,arg1)
{
if(document.getElementById(arg).value=='Other')
{
document.getElementById(arg1).style.display="block";
document.getElementById(arg).style.display="none";
}
else
{
document.getElementById(arg).style.display="block";
document.getElementById(arg1).style.display="none";
}
}
</script>