Suppose I click on a html element that isn’t in an array, and I want to know its index. For example the index of a h1 element. How do I get that with JavaScript?
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
Suppose I click on a html element that isn’t in an array, and I want to know its index. For example the index of a h1 element. How do I get that with JavaScript?