G
G
Good Samaritan2018-01-30 13:16:35
JavaScript
Good Samaritan, 2018-01-30 13:16:35

How to access link addresses located between certain comments?

I need to change the links that are between the comments

<!-- SubCats --> <a href='#'>1</a> <a href='#'>2</a>  <a href='#'>3</a>  <!-- /SubCats -->
How to get access to them if they have neither class nor id.
There are other links on the page, I need them.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kulaeff, 2018-01-30
@djamali

Here is an example preparation for you .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question