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

412
Views
How to use multiple scripts files in one ejs file?

###How to Add multiple script files into a ejs template file?

I have tried to add multiple script file into a one ejs file. But at a time all script files do not work. Which is at the last of the position, only that one work. I have a ejs file named index.ejs I added three scripts files named - comment.js, likeDislike.js and bookmark.js.

In the following way -

<script src="/scripts/comment.js></script>
<script src="/scripts/bookmark.js></script>
<script src="/scripts/likeDislike.js></script>

But only last one likeDislike.js works. Other two don't work. Again when I keep another file at the last of the all. Only that one works others two doesn't work.

Please advice me what can I do?

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