Add Css Class Onclick With Jquery December 26, 2023 Post a Comment Someone help me how to add css class with jquery? I've bootstrap tab content with the current class have a class 'active'. CopySolution 2: You could use the click function.$(".tab-pane").click(function(){ $(".tab-pane").attr("class","tab-pane active"); //add whatever class you want to. In this case, `active`is added. }); Copy Baca Juga'click' A Website's Button With Excel VbaKendo Ui Dropdownlist Mobile ScrollingDiv Scroll To In Javascript Share You may like these postsAutomatically Jump To A Certain Part Of A WebViewHow To Move Elements When Drop Down Is ExpandedHow Can I Make Selected Item In Listbox Scroll To The Top?Jquery Autocomplete - No Result Message Post a Comment for "Add Css Class Onclick With Jquery"
Post a Comment for "Add Css Class Onclick With Jquery"