Would you like to take an element of a page, through its "coordinates"?

Asked

Viewed 82 times

-4

I would like your help, because I was asked to develop an extension for google Chrome, which takes a certain value of a given page, but I do not have much knowledge in programming with javascript, could anyone help me? I saw something related to DOM, however I only found to take this element by ID, CLASS or METHOD, but none of these elements is unique in the page I want to pick up the information Thank you so much

  • Could give more information, like the code you’re trying to get these "strings".

1 answer

-3


Don’t get it right, try to use

document.getElementsByTagName("coloque uma tag html(div, p etc.)")

  • 1

    It could be something like Document.getelementsbytagname("body(table, tbody, tr, td)") and how can I refer to a certain td, for example, I want the 3°TD of that TR

Browser other questions tagged

You are not signed in. Login or sign up in order to post.