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

193
Views
$('#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 answers
Answer question

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 Report
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!