It seems that a batch.js file provided by confluence has jQuery functions, but I can't seem to use them. I'm not sure what I'm doing wrong if anything. This is a quick sample test I made, but it doesn't work even though batch.js is is called in every page. We are using Conlfuence 3.5.2.
{html}
<div id="test1">hello world</div>
<br/>
<input type="button" id="hide" value="hide">
<input type="button" id="show" value="show">
<script type="text/javascript">
$(document).ready(function(){
$('#hide').click(function(){
$('#test1').fadeOut();
});
$('#show').click(function(){
$('#test1').fadeIn();
});
});
</script>
{html}