If I did understand correctly, you want only the rows of the first table to have the expand/collapse functionality. Is that right? If so, you need to tell JQuery only to get the direct children of the #report table. Mar 06, 2007 · Lavanya garu, The example is awesome.I have the similar situation. we have a table in jsp, that is filled with data from database based on user input. once we have the table with data .. we have to display a + sign beside every row. when the user clicks on + sign another query should be executed by taking the value where the user clicked on + as input and disply the results on the same page.i ...