Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

115
Vistas
jquery: data is showing only 3 characters after using substring

I have some problem in jQuery. the below is the array in JSON format. If user type AAA then it should fetch the records from starting 3 characters. Currently, It is showing only 3 characters found but does not show full data.

var airports = ["AAA-Anaa, Anaa, French Polynesia", "AAC-El Arish-El Arish-Egypt-EG", "AAE-Annaba, Annaba, Algeria", "AAL-Aalborg, Aalborg, Denmark"]

index file has :

                url: 'js/airport.json',
                getValue: $.each(a, function(key, value) {
                        alert(key)
                    });
                ,
                list: {
                    match: {
                        enabled: true
                    }
                }
            };

 $('#fromairports').easyAutocomplete(options);
            $('#toairports').easyAutocomplete(options);
            $('#destination').easyAutocomplete(options);
            $('#multicityfrom').easyAutocomplete(options);
            $('#multicityto').easyAutocomplete(options);
            ```
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda