Have a categorized column text clickable to expand/collapse

This code simple looks at the twistie code to the left on the screen and clicks it. "Category" is the actual field value In the example below.
HTML


"<script>document.write(\"<a href='\" + document.links[document.links.length-1] + \"'>" + Category + "</a>\" ) ; </script>"

Posted by fbrefere001 on Friday December 10, 2004