Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/06/2016, 17:55
Avatar de Juanelo666
Juanelo666
 
Fecha de Ingreso: septiembre-2014
Ubicación: México
Mensajes: 31
Antigüedad: 9 años, 8 meses
Puntos: 0
Respuesta: Validar campos de texto vacios

Hola PIRRUMAN mis input y el boton los imprimo con el siguiente html

Código HTML:
Ver original
  1. "<table class='linea-mercado' style=font-family:Tahoma;font-size:8pt;width:490px;>"
  2.            "<tr align=left>"
  3.            "<td colspan=2 style=font-family:Tahoma;font-size:8pt;>"
  4.                    "<b>" + StrMensaje + "</b><br><br>"
  5.                      "</td>"
  6.                      "</tr>"
  7.                      "<tr align=center>"
  8.                      "<td colspan=2 style=font-family:Tahoma;font-size:9pt;>"
  9.                          "<b>Parámetros Requeridos</b><br>"
  10.                          "</td>"
  11.                          "</tr>"
  12.                          "<tr align=left>"
  13.                          "<td>"
  14.                          "Velocidad de Subida"
  15.                          "</td>"
  16.                          "<td>"
  17.                         "<input id='txtvSubida' type='text' onkeypress='return isNumberKey(event)' maxlength='5'/> " + unidad
  18.                         "</td>"
  19.                         "</tr>"
  20.                         "<tr align=left>"
  21.                         "<td>"
  22.                               "Velocidad de Bajada"
  23.                         "</td>"
  24.                         "<td>"
  25.                         "<input id='txtvBajada' type='text' onkeypress='return isNumberKey(event)' maxlength='5'/> " + unidad
  26.                         "</td>"
  27.                         "</tr>"
  28.                                                            
  29.                                                        
  30.                       "<td colspan=2 align=right>"
  31.                      "<br><input id='idSiguienteBtn' type='button' value='Siguiente' onclick='javascript: fnEvaluacionPruebaREIReventa();'/>"
  32.                      "</td>"
  33.                      "</tr>"
  34.                      "</table>"

y dentro de una funcion mando ejecuto el codigo que anteriormente coloque.

Segun yo la funcion ya la ligue a mi evento onClick. (onclick='javascript: fnEvaluacionPruebaREIReventa();) pero no logro que los alert se muestren

Última edición por Juanelo666; 16/06/2016 a las 17:58 Razón: Codigo mal justificado