Below is my structure
-Clicking on flight_itinerary class should open flight_summary class html.
<table>
<tr>
<td>
<table>
<tr>
<td><a class="flight_itinerary">Flight Itinerary</a> </td>
</tr>
</table>
</td>
</tr>
<tr class="flight_summary" style="display:none;">
<td>
<table>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
- This is my script which i tried to open tr tag
$(document).on('click', '.flight_itinerary', function(){
$(this).closest("tr").find('.flight_summary').toggle();
});