Export HTML table to excel (xls) using jQuery plugin table2excel

table2excel is a very simple plugin made to export excel file directly from HTML table.

File Included

  • HTML Files
  • JS Files

Source Code:

<!-- Include JS files -->
<script src="jquery-1.js" type="text/javascript"></script>
<script src="jquery.table2excel.min.js" type="text/javascript"></script>

<!-- Call the plugin -->
<script>
	$(document).ready(function (){
		$("button").click(function () {
			$("#table2excel").table2excel({
				name: "Excel file name goes here"
			});
		});
	});
</script>

Free - Download it right now!


Demo Download

Buy us coffee

Compatible Browsers

Chrome, Firefox, Safari, Opera, IE9+, Edge

Technologies Used

JS, jQuery

Author
Licence

MIT

Reviews and Comments