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

199
Visualizações
$('#basicModal').modal({literal} {keyboard:false} {/literal});} Smarty template , syntax error?

anyone knows how to fix the syntax error regarding this line?

$('#basicModal').modal({literal} {keyboard:false} {/literal});

I am using Dreamweaver, it says syntax error. In browser, when I inspect, error says " Uncaught SyntaxError: Unexpected end of input" at end of

So i use JSHint and the problem of this line is this: Eight warnings 486 'object short notation' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz). 486 Expected ')' and instead saw '{'. 486 Missing semicolon. 486 Label 'keyboard' on false statement. 486 Expected an assignment or function call and instead saw an expression. 486 Missing semicolon. 486 Unclosed regular expression. 486 Unrecoverable syntax error. (13% scanned).

It all stated to the code above. I am very new to this smarty and wonder what went wrong? Can anyone helps me?

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I figure out the error was I imported Javascript twice. and also, found out using VSCode is better than dreamweaver. Once i changed to VSCode, my file open in browser works fine.

about 4 years ago · Santiago Trujillo 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