implement code folding for a report with jquery
- by Vignesh
I'm trying to collapse or expand table rows with + and - sign displayed on the first column, using jquery.
<script type="text/javascript">
$(document).ready(function() {
$("tr.header").click(function () {
$("tr.child", $(this).parent()).slideToggle("fast");
});
});
I'm trying to use this code. But I want the child of the parent I'm clicking on alone to be toggled. Any ideas on how to do it?