I'm implementing an expand/collapse feature but I have a problem:
I have 2 rows in a table...
So I can hide this row by goingCode:<table> <tr id="40807386" class="hidden ">testing this</tr> <tr id="34893485" class="hidden ">testing this again</tr> </table>but this hides both the rows when I only want to hide the first row, not both. Is there a way to get the id of the element so that I can go something likeCode:$('.hidden').toggle();This ^ gives me an error but I need to be able to do something similar. Any help on this would be greatly appreciatedCode:($(this).id).toggle()