Ver Mensaje Individual
  #9 (permalink)  
Antiguo 23/01/2016, 15:04
Avatar de xfxstudios
xfxstudios
 
Fecha de Ingreso: junio-2015
Ubicación: Valencia - Venezuela
Mensajes: 2.448
Antigüedad: 8 años, 10 meses
Puntos: 263
Respuesta: Mostrar datos con metodo POST con PHP

html y ajax en la misma pagina:

Código HTML:
Ver original
  1. <h1 class="titulo2"><p1>CONSULTA Y/O EDICION DE ALUMNOS</p1></h1>
  2. <form action="" onSubmit="javascript:recargar(); return false" >
  3.     <div class='divCampos'>
  4.         <label for="campo">CAMPO:</label>
  5.         <select class="cbfdAlumno" id="cbCampo" name="cbCampo">
  6.             <option value="ID_ALU">CODIGO</option>
  7.             <option value="NOMBRE">NOMBRE</option>
  8.             <option value="IDENTI">CEDULA</option>
  9.          </select><br/>
  10.          <label for="txtCampo">DATO:</label>
  11.          <input type='text' id="txtCampo" name='txtCampo' style="width: 400px; text-transform: uppercase; font-family: Courier New;" required/>
  12.          <input type="submit" name="findAlum" value ="Buscar">
  13.          <br/><br/>
  14.          <div class='contentTable' id="respuesta">
  15. <!--SE MOSTRARA LA RESPUESTA DE AJAX-->
  16.         </div>
  17.     </div>
  18. </form>
__________________
[email protected]
HITCEL