I'm a complete newbie to magento so excuse me if this is a silly question. I need to add some code for a toggle function so something like this :
<script type="text/javascript">
$("#Category1").click(function(){
$(".moreCategory1").toggle();
});
</script>
I need to add this to a static block so I tried adding it just at the end of the static block as usually I'd add it to the end of the body or the footer, but it doesn't work. So where would I need to put the jquery code for a static block?