Iterating through all the
tags on a page

前端 未结 3 1853
遥遥无期
遥遥无期 2021-02-03 20:10

I want to go through all the elements on a page using Javascript and see if they have a property set. Is there an easy way to do this, or do I have to use a recursive solution?

3条回答
提交回复
热议问题