> alert("in the script")
> myWholeFormArray = document.theForm.elements
> for (a = 0; a < myArray.length; a++
^ you forgot to close the parenthesis.
Other things that might cause it: onSubmit instead of onsubmit, wrong
filename, form as variable name (might be reserved).
What does the JavaScript console say? I found the above with this
wonderful tool.
http://icant.co.uk/forreview/browsertests/
--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/