javascript button to run function





This is the code now with all the updates, but it still fails to run the function script languagejavascript typetext/javascript> function validateForm() var result true var msg if ( ) . I want to run a script on the click of a button instead of a text link. How might I do this?