I am trying to toggle a buton class with jquery, but it's not working, here's the code:
.botaoclique{
box-shadow: 0px 0px 00px #000000;
}
.formulario-rodape{
box-shadow: 0px 0px 00px #000000;
}
<input class="cat_button formulario-rodape botao-verde" type="submit" value="Subscrever" id="catlistbutton" /></div>
<script type="text/javascript">
$( "input.formulario-rodape" ).click(function() {
$( this ).toggleClass( "botaoclique" );
});
</script>
What am I doing wrong?
You can see it here: http://ocozinheiroperfeito.businesscatalyst.com/