jQuery tabs: append active tab ID to all href attributes in a list -
i have list of links: <ul class="links"> <li><a href="link-1.html">page 1</a></li> <li><a href="link-2.html">page 2</a></li> <li><a href="link-3.html">page 3</a></li> </ul> and below jquery tabs: <div id="tabs"> <ul> <li><a href="#tabs-1">first</a></li> <li><a href="#tabs-2">second</a></li> <li><a href="#tabs-3">third</a></li> </ul> <div id="tabs-1">first tab content</div> <div id="tabs-2">second tab content</div> <div id="tabs-3">third tab content</div> </div> when clicking on tab i'd id of active tab appended of href attributes in list of links. example, if second tab active, list of links be...