File: example.html

Recommend this page to a friend!
  Classes of Gianluca Zanferrari  >  JavaScript HTML Table Excel Export  >  example.html  >  Download  
File: example.html
Role: Example script
Content type: text/plain
Description: example
Class: JavaScript HTML Table Excel Export
Export HTML table data to Excel format
Author: By
Last change:
Date: 6 years ago
Size: 812 bytes


Class file image Download
<!DOCTYPE html>
<script language="javascript" type="text/javascript" src="table2Excel.js"></script>
<table id="result-table">
		<tr style="background-color: #ccc">
			<th>First Name</th>
			<th>Last Name</th>		
<a href="javascript: void(0)" onclick="var obj = new table2Excel(); obj.CreateExcelSheet('result-table','export');">to Excel</a>