Hola amigos.
 
Estuve investigando como exportar una tabla a excel con jquery pero no me queda bien lo descarge aqui; 
 
 
 http://jqplugins.appspot.com/table2csv 
 
AL exportarlo no me abre la ventana para guardalo o abirlo
 
 
Ojala puedan ayudarme
 
HTML:
 
 
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
		<head>
			<link rel="stylesheet" type="text/css" media="all" href="css/style.css" />
			<script src="js/jquery-1.2.6.min.js">//</script>
 
			<script src="js/jquery.table2csv.js">//</script>
			<script>
				jQuery(function ($) {
					$("div#leftnav").insertMenu();
					$("a#csv-link").click(function () {
						$("table#my-table").table2csv({
							callback: function (csv, name) {
								location.href = "/csvdownload?csv=" + encodeURIComponent(csv) + "&name=" + name;
							}
						});
					});
				});
			</script>
			<title>Leonardo Rossetti javascript demos</title>
		</head>
		<body>
			<div id="container">
				<div id="leftnav">
 
				</div>
				<div id="content">
					<p><a href="javascript:void(0)" id="csv-link">Download the CSV file</a></p>
 
					<table id="my-table">
						<caption>table_in_csv_format</caption>
						<thead>
							<tr>
								<th>Name1</th>
								<th>Name2</th>
								<th>Name3</th>
								<th>Name4</th>
								<th>Name5</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>c1r1</td>
								<td>c2r1</td>
								<td>c3r1</td>
								<td>c4r1</td>
								<td>c5r1</td>
							</tr>
							<tr>
								<td>c1r2</td>
								<td>c2r2</td>
								<td>c3r2</td>
								<td>c4r2</td>
								<td>c5r2</td>
							</tr>
							<tr>
								<td>c1r3</td>
								<td>c2r3</td>
								<td>c3r3</td>
								<td>c4r3</td>
								<td>c5r3</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</body>
	</html> 
  
 
