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:
<script type="text/javascript">

 jQuery(document).ready(function($){
var casa = $('.casa');
    $('.casa').on('click',function($){
            
           $('.casa').css('opacity', '0.5');
				
        });


})
</script>
But it doesn´t work can anyone help me?