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

If your view is not rendering everything as html, but the code below within brackets [ ]

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

Posted by fbrefere001 on Friday December 10, 2004