of svg path in li:hover when li's id == path's id with jquery.
do you have any advice for me?
<ul class="countries">
<li id="uk"></li>
<li id="us"></li>
<li id="fr"></li>
<li id="ch"></li>
<li id="da"></li>
<li id="fa"></li>
<li id="pk"></li>
<li id="il"></li>
</ul>
...
<path id="uk"></path>
<path id="us"></path>
<path id="fr"></path>
<path id="ch"></path>
<path id="da"></path>
<path id="fa"></path>
<path id="pk"></path>
<path id="il"></path>
also, two identical ids?
Обсуждают сегодня