How do I find the class name of an element?

The syntax is as follows: var elements = document. getElementsByClassName(name); Here “name” is the class name you are looking to find and “elements” is a variable that would contain the array of elements.

Sizin İçin Seçtik  OM hangi borsada?

Leave a Reply

Your email address will not be published. Required fields are marked *