Code: Select all
$("div[class^='ativo']").on("click", function(){
$(this).removeClass("^='ativo'"); // How to achieve it?
});Code: Select all
Was kann ich anstelle von .removeClass("^='ativo'"); tun?
JSFiddle
Code: Select all
$("div[class^='ativo']").on("click", function(){
$(this).removeClass("^='ativo'"); // How to achieve it?
});Code: Select all