Esta es la funcion...
Código HTML:
<script> function guardar_tarjeta() document.tabla_estadistica.submit() location.href='?mod=tarjetas4'; </script>
Código HTML:
. . . <form name="tabla_estadistica" action="#"> <table width="100%" height="200px" border="0" cellpadding="0" cellspacing="0"> <tr> <td> </td> . . .
Código PHP:
echo "<table width=\"120\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
echo "<tr>";
echo "<td width=\"2\" background=\"images/b04i.gif\"></td>";
echo "<td width=\"120\" align=\"center\" background=\"images/b04c.gif\"><span class=\"ta11b\" onClick=\"javascript: guardar_tarjeta()\" onMouseOver=\"{this.style.color='#ff0000';this.style.cursor='hand'}\" onMouseOut=\"{this.style.color='';this.style.backgroundColor=''}\">Guardar Tarjeta</span></td>";
echo "<td width=\"1\" background=\"images/b04i.gif\"></td>";
echo "</tr>";
echo "</table>";
Alguien sabe que ocurre??