I have a jQuery tab. I have to select the second tab by default. But I have a problem with assigning the active
class to the second li
. Below is the code to add the active
class to first li
. How can I edit the code below to make second li
active instead:
$("ul.tabs li:first").addClass("active");