<script type="text/jscript"> $('.View').click(function() { $('#details').remove(); var detailID=$(this).attr('data-id'); $(this).closest('tr').after('<tr id="details"><td colspan="9"></td></tr>') $('#details td').load('Details.aspx?detail='+detailID+' #content'); }); </script> <script type="text/jscript"> $('.Hide').click(function() { $('table td img.Hide').click(function(){ $(this).parent().parent().remove(); }); }); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)