Eu tenho o seguinte codigo:
[div class=\\'codetop\\']CODE[div class=\\'codemain\\' style=\\'height:200px;white-space:pre;overflow:auto\\']<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Spoiler for {option}:
<input type='button' value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }">
</div>
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;">
<div style="display: none;">
{param}
</div>
</div>
Mas algo não esttá correcto porque quando se carrega no show não aparece nada
Gostava que me ajudassem a resolver este problema.
Obrigada desde já