Ver Mensaje Individual
  #7 (permalink)  
Antiguo 01/04/2021, 10:57
pilucho
 
Fecha de Ingreso: noviembre-2004
Ubicación: NULL
Mensajes: 652
Antigüedad: 19 años, 5 meses
Puntos: 6
Respuesta: live search php

Cita:
Iniciado por Alexis88 Ver Mensaje
Me gustaría ver qué fue lo que probaste en JavaScript y PHP para poder guiarte. ¿Intentaste descargando el ejemplo y probándolo?

asi

Código HTML:
Ver original
  1. <!DOCTYPE html>
  2. <html lang = "es">
  3.     <head>
  4.         <meta charset = "utf-8" />
  5.         <title>Buscador</title>
  6.         <link rel = "stylesheet" type = "text/css" href = "jquery-ui-css.css" />
  7.         <link rel = "stylesheet" type = "text/css" href = "style.css">
  8.     </head>
  9.     <body>
  10.         <section id = "main">
  11.             <label for = "buscar">Buscar:</label>
  12.             <input type = "text" name = "buscar" id = "buscar" placeholder = "Ingresa el dato a buscar" autofocus />
  13.         </section>
  14.         <section id = "response">
  15.             <img />
  16.             <div id = "datos">
  17.                 <header>
  18.                     <h1></h1>
  19.                 </header>
  20.  
  21.                 <p>
  22.                     <label class = "ref">Nombre</label>
  23.                     <!--<label class = "dato"></label>-->
  24.                     <input type = "text" name = "fname" class = "dato" />
  25.                 </p>
  26.                
  27.                 <p>
  28.                     <label class = "ref">Apellido:</label>
  29.                     <label class = "dato"></label>
  30.                 </p>
  31.  
  32.                 <p>
  33.                     <label class = "ref">E-Mail:</label>
  34.                     <label class = "dato"></label>
  35.                 </p>
  36.             </div>
  37.         </section>
  38.         <script type = "text/javascript" src = "jquery.js"></script>
  39.         <script type = "text/javascript" src = "jquery-ui.js"></script>
  40.         <script type = "text/javascript" src = "script.js"></script>
  41.     </body>
  42. </html>