I am trying to hide table rows but it's not working. It is hiding the rows one by one like if I clicked first tr where class ‘plevel1’, its close tr class ”plevel2”. But when I am clicking like top parent level in this example (tr class plevel), it is only closing first tr class plevel1. I am trying to hide table rows but it's not wor