Hi,
I am using JavaScript to hide some text on page, using the HTML maco. It works as expected, but I would like to make the change permanently. So one user presses the button and the text is hidden, even for other users.
I am using the following code in the HTML macro:
<div id='someTest'>
some Text
</div>
<button type="button" id="hidden">Hide me</button>
<script type="text/javascript">
AJS.$('#hidden').click(function(){
if ( $('#someTest').css('visibility') == 'hidden' )
$('#someTest').css('visibility','visible');
else
$('#someTest').css('visibility','hidden');
});
</script>