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

130
Visualizações
Mobile version of DataTables will causes jQuery to stop working

I'm using DataTables (https://datatables.net)

When trying the mobile version of the website the jquery will stop working, But when using the desktop version everything works just fine.

<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/dt-1.11.3/r-2.2.9/datatables.min.css"/>

<script type="text/javascript" src="https://cdn.datatables.net/v/dt/dt-1.11.3/r-2.2.9/datatables.min.js"></script>

Error:

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Object.success (http://website/public/dashboard/index.php:1354:39)
    at c (http://website/assets/vendor/global/global.min.js:1094:56)
    at Object.fireWith [as resolveWith] (http://website/assets/vendor/global/global.min.js:1131:96)
    at l (http://website/assets/vendor/global/global.min.js:2935:415)
    at XMLHttpRequest.<anonymous> (http://website/assets/vendor/global/global.min.js:3026:235)

global.mis.js files:

https://controlc.com/196b0ec9

The ajax call and jQuery works fine on desktop version, ONLY when mobile version of datatables is activated then the ajax and jQuery will stop working

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