- Регистрация
- 22.12.2016
- Сообщения
- 23
- Благодарностей
- 1
- Баллы
- 3
Hi everyone,
I have a problem with counting class on the site in source code.
For example I have on the site that line:
<a class="seo-link" href="examplesite.com">Anchor</a>
I don't know how I may counting quantity of class "seo-link".
If the site will be two such classes I got result in variable = 2,
when will be three classess I got result in variable=3 etc.
Can you give an example of how to solve that?
I have a problem with counting class on the site in source code.
For example I have on the site that line:
<a class="seo-link" href="examplesite.com">Anchor</a>
I don't know how I may counting quantity of class "seo-link".
If the site will be two such classes I got result in variable = 2,
when will be three classess I got result in variable=3 etc.
Can you give an example of how to solve that?