Ver Mensaje Individual
  #1 (permalink)  
Antiguo 27/06/2010, 17:44
Avatar de ronnyra
ronnyra
 
Fecha de Ingreso: diciembre-2009
Mensajes: 173
Antigüedad: 14 años, 5 meses
Puntos: 1
problema con un botón

hola amigos solicito su ayuda desesperadamente.... jeje

tengo un problema con un boton el cual no me esta ejecutando la accion onclik y no me toma los archivos en donde se realiza todo lo que quiero que haga... aqui les dejo el codigo
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Documento sin t&iacute;tulo</title>
  5.  
  6. <script type="text/javascript" src="js/validarParticipante.js"></script>
  7. <script type="text/javascript" src="ajax_inscrip/js_participantes.js"></script>
  8. </head>
Código HTML:
Ver original
  1. <form name="regis" id="regis" method="get" action="busqueda.php">
  2.   <div id='contenido'>
  3.     <table width="655" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000">
  4. <tr>
  5.            <td width="60" bgcolor="#DFDF00"></td>
  6.         <td width="150" bgcolor="#DFDF00">Nombre y Apellido</td>
  7.            <td width="120" bgcolor="#DFDF00">Codigo</td>
  8.            <td width="90" bgcolor="#DFDF00">Semestre</td>
  9.            <td width="120" bgcolor="#DFDF00">Programa</td>
  10.            <td width="133" bgcolor="#DFDF00" align="center">Accion</td>
  11.       </tr>
  12.          <?php
  13.  while($row3 =  @mysql_fetch_array($result)){
  14.  ?>
  15.          <tr>
  16.            <td height="26" bgcolor="#FFFFC6"><label>
  17.              <input name="Cod_Inscrip_Est" type="text" id="Cod_Inscrip_Est" value="<?php echo $row3["Cod_Inscripcion_Est"]; ?>" size="10" />
  18.            </label></td>
  19.            <td bgcolor="#FFFFC6"><label>
  20.              <input name="nombre_com" type="text" id="nombre_com" value="<?php echo $row3["Nombre1"];?> <?php echo $row3["Nombre2"];?> <?php echo $row3["Apellido1"];?> <?php echo $fila["Apellido2"];?>" size="25" />
  21.            </label></td>
  22.            <td bgcolor="#FFFFC6"><label>
  23.              <input name="Cod_Est" type="text" id="Cod_Est" value="<?php echo $row3["Cod_Est"]; ?>" size="20" />
  24.            </label></td>
  25.            <td bgcolor="#FFFFC6"><label>
  26.            <input name="Semestre" type="text" id="Semestre" value="<?php echo $row3["Semestre"]; ?>" size="15" />
  27.            </label></td>
  28.            <td bgcolor="#FFFFC6"><label>
  29.              <input name="Nom_Programa" type="text" id="Nom_Programa" value="<?php echo $row3["Nom_Programa"]; ?>" size="20"  />
  30.            </label></td>
  31.            <td bgcolor="#FFFFC6"><input type="button" name="Submit3" value="Agregar Participante" onclick="javascript: if(ValidarParticipante()){ AgregarParticipante('ContenidoParticipante');LimpiarBeneficiario();}" id="Submit3" /></td>
  32.          </tr>
  33.          <?php }?>
  34.         </table>
  35.             <br />  
  36.                   <div id='ContenidoParticipante'>                     
  37.                         <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1">
  38.                           <tr>
  39.                             <td width="24%" bgcolor="#DFDF00"><div align="center">Participantes</div></td>
  40.                           </tr>
  41.                         </table>                           
  42.                   <div/>
  43.             <br />
  44.                         <table width="100%" height="0%" border="0" class="boton2">
  45.               <tr>
  46.                 <th width="14%">&nbsp;</th>
  47.                 <th width="33%"><input name="acepto" type="submit" class="boton2" id="acepto" title="Enviar" value="Guardar" disabled="disabled"/></th>
  48.                 <th width="7%">&nbsp;</th>
  49.                 <th width="32%"><input name="limpiar" type="reset" class="boton2" id="limpiar" title="limpiar" onclick="limpiar;" value="Limpiar"/></th>
  50.                 <th width="14%">&nbsp;</th>
  51.               </tr>
  52.             </table>
  53.   </div>
  54.   </div>
  55. </form>
  56. </body>
  57. </html>

el boton es este ahi esta pero lo pongo ya que no c como resaltar esa parte del codigo...
Código HTML:
Ver original
  1. <input type="button" name="Submit3" value="Agregar Participante" onclick="javascript: if(ValidarParticipante()){ AgregarParticipante('ContenidoParticipante');LimpiarBeneficiario();}" id="Submit3" />

por fa eh revisado y nada les agradezco su ayuda...