hi there,
I've created a JS function that will show or hide a <div> when you click a button...
(display = "none" / display = "block")
I've populated the content of the div with conditional content using EHTML
i.e:
<div class="hiddenContent">
<? if (somestatement==true){
$html =<<< EHTML
<tr>
<td>content here</td>
</tr>
EHTML;
echo $html;
}
?>
</div>
The problem is that anything i output in the div will not hide, no matter what i do.
Is this a known issue with EHTML?
any help or info appreciated....
cheers,
Mitch.