Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

106
Views
Apimedic: la API para el verificador de síntomas no redirige a la especialización específica seleccionada

Necesito ayuda!!!! No sé la razón por la que cuando selecciono la especialización, el specId siempre es 0. Abre una página en blanco con este enlace cada vez, "sample_specialisation_page/specId0.html ".

Aquí el código: https://github.com/priaid-eHealth/symptomchecker/commit/9563ccd0645ee1143d336ad7fdacc72ba311cb6b , también puedes leer mi comentario allí.

y este podria ser el problema: (que lo paso a comentar, el resultado sigue siendo el mismo)

 var specList = jQuery("<ul/>", { "class": "spec_list" });

 if (!includeAllSpec) {
 $.each(specialisation, function () {
 specListElement = jQuery("<li/>", {
 });
 var spec = jQuery("<a/>", {
 "text": this.Name,
 //TODO possible implementations:
 //"href": specUrl + "/" + this.Name + "/" + this.ID
 //"href": specUrl + "?specId=" + this.SpecialistID
 "href": specUrl + "/" + "specId" + this.SpecialistID + ".html"
 });

 specListElement.append(spec);
 specList.append(specListElement);
 });
 }
 else {
 var specNames = new Array();
 $.each(specialisation, function () {
 specNames.push(this.Name);
 });
 $.each(specialisation, function () {
 specListElement = jQuery("<li/>", {
 });
 var spec = jQuery("<a/>", {
 "text": this.Name,
 "href": specUrl + "?specs=" + JSON.stringify(specNames)
 });

 specListElement.append(spec);
 specList.append(specListElement);
 });
 } ```
almost 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!