hey again peps
i am using
<script type = "text/javascript">
function toggle(e)
{
(document.getElementById(e).style.display == "none") ? document.getElementById(e).style.display = "block" : document.getElementById(e).style.display= "none";
return;
}
</script>
javascript code to display the following.
echo "<tr>
<td width=\"110\" valign=\"top\" bgcolor=\"$row_color\" nowrap>
$num</td>
<td width\"140\" bgcolor=\"$row_color\">
<a href=\"ticket.php?cmd=veiw&key=$num&email=$email\">$subject</a><br>
<a href = \"#\" onclick = \"toggle('x');\">See Snippet</a>
<div id = \"x\" style = \"display: none;\">
$message</div>
</td>
</tr>";
i have multiple $num's and want the first result for each num displayed.
this idea sounds easy, but no matter what link i click with "see snippet" i always just get the same result.
can anyone see why?
Dvaid