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

106
Vistas
Trying to display a API return with a typecript code

Im doing something wrong here. im trying to display this {"ari":{"Message":"LP is gut"}} return that I get from an API, but im not very good at typescript, actualy I was trying to modify exsisting code that someone wrote for me for a different thing I had.

Have a look.

 $('#frm').submit((e) => {
  e.preventDefault();
  const val = $('#search').val();
  if(!val) { alert('Please enter serial number!'); return false; }
  $('#results').html('Searching....');
  $.get(`http://localhost:8000/lp/${val}`, (d) => {
    console.log("got it!", d);
    $('#results').html(`<table style="width:100%"><thead><tr><th>Message</th></tr></thead><tbody><tr><td>${d.ari.Message}</td></tr></tbody>`);
  })
  return false;
 });
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