Is there an HTML element property that gives the level of that element in the document tree?

后端 未结 0 1134
梦如初夏
梦如初夏 2021-01-05 16:58

I could probably implement such a function that checks "how deep" is that element in the document and determine its level.

However I would like to know if t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题