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
scriptelement.