Answers for "jquery replaceclass"

CSS
1

replace class jquery

$('#divFoo').replaceClass('colored','blackAndWhite');
$('.divFoo').replaceClass('colored','blackAndWhite');
Posted by: Guest on February-18-2022
0

jquery replace css class

$('.theClassThatsThereNow').addClass('newClassWithYourStyles').removeClass('theClassThatsTherenow');
Posted by: Guest on June-06-2021

Browse Popular Code Answers by Language