Fiido Firdauz Fiido Firdauz - 5 months ago 18x
HTML Question

JQuery Expand and hide table td

I manage to make table row expand and hide but when I add another row it's like all row collapsed together .

Your help really appreciate.



Here is the DEMO


Don't use nextAll(), just use next().

Also there should not be repeated ids in an HTML document, so replace all of the more ids with classes.

Refer to the JSFiddle for what the updated code should look like.