Answers for "remove external css class in jquery"

2

jquery remove css class

$("p").removeClass( "myClass yourClass" )
Posted by: Guest on July-11-2020
1

jquery remove css class

$("div").removeClass("important");

addClass() - Adds one or more classes to the selected elements
removeClass() - Removes one or more classes from the selected elements
toggleClass() - Toggles between adding/removing classes from the selected elements
css() - Sets or returns the style attribute
Posted by: Guest on March-10-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language