<script language=
"javascript">
function func_onChange
()
{
if (document.
getElementById('cb01').checked
) {
document.
getElementById('d01').style.display=
"none";
} else {
document.
getElementById('d01').style.display=
"block";
}
}
</script>
<
input type=
'checkbox' value=
'1' id=
"cb01" onClick=
"func_onChange()" > skrytý checkbox
<
div id=
"d01">
Tento text sa zobrazí len pri nezaškrtnutom checkboxe
</
div>