How To Call Javascript Function From Another File in EJS

Viewed 3339

I have a question regarding EJS and how to call a javascript function from another file.

Let's say i have a button,

<button onclick="click()">Click Me</button>

and the click() function is from another file called click.js, how do i call it ? because using standard method doesn't work. thanks

1 Answers
Related