I've just started learning w/ JS and cannot seem to figure out the error with the script below. Any help will be appreciated:
Code:
<HTML>
<HEAD>
<TITLE> An onClick= script </TITLE>
<SCRIPT LANGUAGE= “JavaScript”>
<!--
function alertUser() {
alert("Ouch!")
}
//-->
</SCRIPT>
</HEAD>
<BODY>
Here is some body text.
<FORM>
<INPUT TYPE="text" Name="entry">
<INPUT TYPE="button" NAME="oneButton" VALUE="Press Me!">
onClick="alertUser()">
</FORM>
</BODY>
</HTML>