Sunday, 30 September 2018

JavaScript: Accessing Elements using DOM

There are many ways to target elements using DOM. Following are some of the ways to target elements using DOM.

You can locate elements by using
         a. id
         b. class name
         c. name
         d. tag element name
         e. link text
         f. partial link text
         g. xpath
         h. css selector etc.,

Previous                                                 Next                                                 Home

No comments:

Post a Comment