I'm trying to use callback
in the removeClass
function but it's not working, does anyone know what's wrong?
I need to run removeAttr
only after removeClass
is finished.
$(".context_menu_pai").removeClass('open' , function() {
$(".context_menu_pai").removeAttr("style");
});