{source}<?php
$myscript = "
var button = document.getElementById('showButton');
var content = document.getElementById('content');
button.addEventListener('click', function() {
content.style.display = 'block';
button.style.display = 'none';
});
";
$doc->addScriptDeclaration($myscript);
?>{/source}