Merge Tables Using JQuery

In Below Example We will See how to Merge Tables Using JQuery. The Code can be Modified Accordingly if There are More Than Two Tables Code to Merge Tables Using JQuery: <html> <head> <title>Merge Tables Using JQuery</title> <script type=”text/javascript” src=”jquery.com/jquery-1.8.2.js”></script> <script> $(function() { $(‘#btnMerge’).click(function() { $(‘#table3’).html($(‘#table1’).html()); $(‘#table3 > tbody:last’).append($(‘#table2 > tbody’).html()); }) }) </script> </head> … Read more