0

Let's say I have a div tag with class sample

<div class='sample' />

I'd like to get all attributes of sample class.

What is the right way to get class attributes of a DOM element?

Shai
  • 355
  • 2
  • 5
  • 18

0 Answers0