[Javascript] "is not defined" error

BRUCE bruce at astound.net
Thu Aug 1 16:01:33 CDT 2002


Ok, so I did that (document.temp.submit(), and the error is still appearing.
is it possibly that I have the code in the wrong spot? It is currently in
the <head>
As I mentioned eariler, the first part of the equation (if...) works

I have tried a variety of different incarnations, and it just won't go.
Am I nuts? I m feeling that way...
:-)

CODE:

 <SCRIPT>
   function checkChars()
 {
    if (document.temp.astd.value.length < 8 &&
 document.temp.astd.value.length > 0)
     alert("Please contact ASTD for your correct ID number");
    else
     temp.submit()
 }
    </SCRIPT>




More information about the Javascript mailing list