What is the below query doing?

$(document).ready(function () {
$("ul#tabs li").click(function (e) {
$('ul#tabs li').toggleClass('active');
});
});

 Posted by Rajnilari2015 on 11/28/2015 | Category: jQuery Interview questions | Views: 837 | Points: 40
Select from following answers:
  1. Toggling the Tabs which has a class attribute as active.The action is performed on Click event
  2. Toggling the Tabs which does not have a class attribute as active
  3. Showing the tab contents on Click
  4. This query will never work
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response