Ganti kelas jQuery
$('#divFoo').replaceClass('colored','blackAndWhite');
$('.divFoo').replaceClass('colored','blackAndWhite');
Junior Cercado V.
$('#divFoo').replaceClass('colored','blackAndWhite');
$('.divFoo').replaceClass('colored','blackAndWhite');