For a simple form with an alert that asks if fields were filled out correctly, I need a function that does this:
Shows an alert box when button is clicked w
OK, just change your code to something like this:
Also this is the code in run, just I make it easier to see how it works, just run the code below to see the result:
function submitForm() { return confirm('Do you really want to submit the form?'); }
submit