Page is a not externally linkable
MichaelBluejay - 2:10 pm on Sep 23, 2012 (gmt 0)
Your problem has nothing to do with the fact that you're using an image. And before I tell you what the problem is, what's more important is that you learn *how* to troubleshoot these kinds of problems.
(1) The first thing you should have done was to replace the "bad" <input...> (submit) line with the "good" <input...> (submit) line. You would have found that the "good" line didn't work either. You would have then learned that your idea that one line was "good" and the other was "bad" was wrong. The <input...> line is not where the problem lies.
(2) Use the Firefox Javascript debugger. I just put your code in a file on my server, loaded the page in Firefox, and Firefox showed me the error immediately. Show the Firefox debugger with Tools > Web Developer > Error Console.
(3) In cases where the above isn't helpful, start with a completely blank file and build it one line at a time, continuing to check to see at what point the script fails.
The problem was that the emailCheck function you called is undefined.