I'm still kinda learning JS. I can't figure this one out. I googled and discovered the issues is with placing the <!DOCTYPE html> tag at the top, but how to resolve the issue?
I used firebug, Tells me I got an error - X is not defined. (Where X is called from an inline function ie <input onclick="functionname(X)" [...] />)
So how do I 'define' this thing...its just passed to a functions - it's not actual variable or anything, so I'm a little confused.
Let me know if you want to see me code, I was kind of hoping someone knows the HTML 5 doctype and what it requires as far as JS is concerned.