If you view the source of this web page, you will see the following JavaScript code that has a mistake in it (you will learn more about this command in the next lesson, but trust us- it has a mistake!):
<script type="text/javascript" language="Javascript"> <!-- document.write('<p>This shows what happens in a document.write statement if it has an extraneous RETURN that breaks the commans in half'); //--> </script>
Note that if you receive an error message it indicates the type of error, the line number of the HTML where the error occurs, and the location in the line where it found the error. Note that one error in a JavaScript code section can trigger many others that follow it, so fixing the first error may take care of others error messages displayed.
Also, note that the error prevents the button from following its instructions.
The Internet Connection at MCLI is
Alan Levine --}
Questions? Comments? Visit our feedback center
URL: http://www.mcli.dist.maricopa.edu/tut/tut27a_ex/test.html