Forum Discussion

halovski's avatar
9 months ago

How do I locate an element by its ID in html? The equivalent of getElementByID in JavaScript

  I have found the ID of the tr parent, with a regex. Now I need to go down to the td class = c3 child and click the image inside it. How can I do that when I have its ID? Query selector ...
  • rraghvani's avatar
    9 months ago

    Using ID,

    will highlight the first row