Código Javascript:
Ver original
<script type="text/javascript" src="../js/prototype.js"> </script> <script> function timer(page, id) { document.getElementById(id).onClick = ''; new Ajax.PeriodicalUpdater('contenido', page, { method: 'get', frequency: 1, decay: 2 }); } </script>
Código HTML:
Ver original
<body style="padding-top:1%;"> <div id="hero-slider" > <tr> <td width="75" height="96"> <input type="button" id="boton1" class="boton2" onclick="timer('alertas.php', this.id)" name="Submit" value="" /> <div class="Estilo3" style="position:relative; bottom:10%; width: 75px;"> <td width="75" height="96"> <input type="button" id="boton2" class="boton2" onclick="timer('alertas_com.php', this.id)" name="Submit2" value="" /> <div class="Estilo5" style="position:relative; bottom:10%; width:75" > </tr> <div id="contenido" align="center" style="padding-top:2%"> </div> <!-- .mask --> </div> <!-- #hero-slider --> </body>
De antemano muchas gracias por su atencion.
.
... UTILIZE EL FIREBUG Y VI QUE HABIA UN ERROR AL COMPILAR EL SCRIPT QUE ME PASASTE JUSTO EN LA LINEA 15... ME ENTRO LA DUDA QUE TALVES PODRIA SER LA VERION DEL PROTOTYPE, ASI QUE ME DESCARGUE DE NUEVO LA LIBRERIA Y PRECISO ESO ERA...

