;
function get(){
var document_element
=document.getElementsByTagName("body")[0];
alert(document_element.childNodes.length);
}
</script>
</head>
<body>
<ul>

</ul>
<h1 title="ddd">dsfsdfsdf</h1>

</body>
</html>

相关文章:

  • 2022-12-23
  • 2021-06-10
  • 2022-01-02
  • 2021-11-18
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
猜你喜欢
  • 2021-08-24
  • 2022-12-23
  • 2021-12-15
  • 2022-02-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案