var obj=document.getElementById("showDiv");   
if(obj.scrollHeight>obj.clientHeight||obj.offsetHeight>obj.clientHeight){ 
document.getElementById("hiddenDiv").style.height="15pt"; 
  } 

 

相关文章:

  • 2021-11-13
  • 2022-12-23
  • 2022-03-05
  • 2021-11-12
  • 2022-12-23
  • 2021-10-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2021-12-09
  • 2022-12-23
  • 2021-12-10
相关资源
相似解决方案