Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

114
Visualizações
Apimedic: API for Symptoms Checker doesn't redirect to the select specific specialization

Need help!!!! I don't know the reason why when I select specialization, the specId always 0. It open blank page with this link every time, "sample_specialisation_page/specId0.html".

Here the code: https://github.com/priaid-eHealth/symptomchecker/commit/9563ccd0645ee1143d336ad7fdacc72ba311cb6b , you can also read my comment there.

and this might the problem: (which I turn it to comment, result still the same)

        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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda