为了账号安全,请及时绑定邮箱和手机立即绑定

求大神,这个style="display:none;"该怎么解读?

求大神,这个style="display:none;"该怎么解读?

MMMHUHU 2021-02-23 10:07:48
<script language="javascript">function pysjzx_change(){var leaseObj = document.all.id_lease;var saleObj = document.all.id_sale;var hhObj = document.all.id_hh;var pysjzx_type = document.pysjzxform.pysjzx_type.value;if (pysjzx_type=="sale"){saleObj.style.display = "block";leaseObj.style.display = "none";}if (pysjzx_type=="buy"){saleObj.style.display = "block";leaseObj.style.display = "none";}if (pysjzx_type=="lease"){leaseObj.style.display = "block";saleObj.style.display = "none";}if (pysjzx_type=="hire"){leaseObj.style.display = "block";saleObj.style.display = "none";}if (pysjzx_type=="cotenancy"){hhObj.style.display = "block";saleObj.style.display = "none";}}请高手详细解答一下这段代码是什么意思
查看完整描述

2 回答

  • 2 回答
  • 0 关注
  • 389 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信