Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($("#tabs li.current").length == 0 && $("#tabs li").length > 0) {
- $("#tabs li.current").prev().addClass("current"); // i tried like this...
- }
- $("#tabs li").find("#" + tabName+"1").addClass("current");
- $("#tabs li.current").prev().andSelf().toggleClass("current");
Add Comment
Please, Sign In to add comment