I´m using the plugin Css and javascript toolbox, and a i have an element that i want to change his opacity with the class "casa" when i click on it. I use this code:
jQuery(document).ready(function($){ var casa = $('.casa'); $('.casa').on('click',function($){ $('.casa').css('opacity', '0.5'); }); })But it doesn´t work can anyone help me?