Menu
I have this simple code but it refuses to work. What do you think I’m missing here?
[code]
function check() {
var frm = document.getElementById(“formName”);
if (frm.fullName.value == “”) {
alert(‘Please Enter a valid Full Name’);
frm.fullName.focus();
return true;
}
}
<form id=”formName” action=”page.asp” method=”post” onsubmit=”return check();”>
Thanks!