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

200
Visualizações
Referencing jQuery library on Google APIs and Relative path

In my Asp.Net Web Application, I have given a reference to jQuery library on Google APIs as below:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

Problem: few devices do not have an internet connection, and the JQuery download fails.

Providing the local file reference like below solves the problem:

<script src="~/Scripts/jquery-3.5.1.min.js"></script>

Question: If google APIs fail to download the file(If no internet) then I should take the local file reference, Is there a way to implement it?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

If you are worried, that ajax.googleapis.com may be unavailable at the particular moment, when you want to load jQuery 3.5.1, then simply include and deploy the library with your Asp.net web application.

about 4 years ago · Juan Pablo Isaza Relatório
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