removeclass - Jquery remove class not working on a bc website -


i trying removeclass.addclass jquery

<input class="cat_button botao-verde formulario-rodape" type="submit" value="subscrever" id="catlistbutton" />  <script type="text/javascript">   $("catalistbutton").click(function(){     $(this).removeclass("formulario-rodape").addclass("botaoclique");   }); </script> 

it not working. adds new class(no shadows) , class removed shadow effect remains in code.

see here @ bottom of page on newsletter signup form, green button

http://ocozinheiroperfeito.businesscatalyst.com/

your jquery selector incorrect. use $("#catalistbutton") adress id. suggest putting dom manipulating code inside $(document).ready();


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -