AnsweredAssumed Answered

Alert call not working on a button click event.

Question asked by csergent08 Champion on Apr 29, 2015
Latest reply on Apr 29, 2015 by csergent08

I have this button in an HTML file and the following JavaScript in a JS file:

<button class="btn btn-primary" name="btnFeedback" onclick="sendEmail()">Submit</button>



function sendEmail() {





but the alert will not run when I click on the button. I receive, sendEmail is undefined. Here is the whole project where I have the code. The JavaScript file is in app/main.js