Answers for "remove css from jquery"

CSS
1

how to remove css from element using jquery

$('#tag-id').removeAttr('style');
Posted by: Guest on December-04-2020
2

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
0

how to remove css from element using jquery

$("body").removeAttr("style");
Posted by: Guest on December-04-2020

Browse Popular Code Answers by Language