Carol Carol - 1 year ago 86
jQuery Question

Table Expand Collapse Issue

I'm new with jquery and I need help for my table.

Here is my problem: I need a table inside a table. I know it sounds weird but it's more like a "more details" table of a specific table row.
I got this code, but the rows of my "detail" table are also "hiding and showing".

Here it is:

I know it's a dumb question, but I still dont get it.

Answer Source

Look at the following: Selecting only first-level elements in jquery

The problem is that you are also selecting the children in your subtables...

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download