<?php include "../AccesoDatos/Controller.php"; include "../ReglasNegocio/custodia.php"; include "../ReglasNegocio/asociado.php"; include "../ReglasNegocio/material.php"; $custodia = new custodia(); $asociado = new asociado(); $sasocuado = $asociado->getAll2(); $rowas = mysql_fetch_array($sasocuado); ?> <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script language="javascript"> $(document).ready(function() { $(".botonExcel").click(function(event) { $("#datos_a_enviar").val( $("<div>").append( $("#Exportar_a_Excel").eq(0).clone()).html()); $("#form1").submit(); }); }); </script> <style type="text/css"> .botonExcel{cursor:pointer;} </style> <body> <form name="form1" id="form1" method="post" action="ficheroExcel.php"> <p align="center" class="tituloHead">Reporte de Custodias</p> <table id="Exportar_a_Excel" align="center" class="filaPar" width="700" > <tr> <td class="titulosTabla" align="center">Unidad</td> <td align="center" class="titulosTabla">area</td>