Hello, the situation is as follows: there are two divs with the same id, they are in different parts of the document.
<div id="slider"></div> <div id="slider"></div> I need to add the first element to the first element, and the second to the second In order to get such a construction:
<div id="slider" class="first"></div> <div id="slider" class="second"></div> How to implement it on jQuery?