Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

toggle class jquery not working

$(document).ready(function(){
    $('a.btn').click(function(){
       $(this).toggleClass("active");
   });
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #toggle #class #jquery #working
ADD COMMENT
Topic
Name
6+9 =