(adsbygoogle = window.adsbygoogle || []).push({});
Can someone help me by telling me what is wrong with this code. When i submit the email with no information there should be a message that pops up.
<form
action="
https://www.mcfedries.com/scripts/formtest.asp"
method="post"
name="MyForm"
onSubmit="return validate(MyForm)">
<p><b>Please enter your email address:</b><br />
<input type="tex" size="35" name="Email" />
</p>
<p>
<script language=“javascript” type=“text/javascript”>
<!--
function validate(frm)
{
//
// Check the Email field to see if any characters were entered
//
if (frm.Email.value == "")
{
alert("Tsk tsk. Please enter an email address.")
frm.Email.focus()
return false
} }
//-->
</script>