Have narrowed it down to a javascript file, which had only the following function in it:
javascript code:
function elem(ent){return document.getElementById(ent);}
And including that function as a regular script still causes the error.
Renaming the function works, except then I get the regular object expected when trying to use the function later. Renaming the function calls results in the same problem.
It's a function I've used thousands of times before, and it works fine before submitting the page, so I'm even more confused then I was before.
:/
Hmmm, just manually replaced all the function calls with the whole document.getElementById thing and I /still/ get the error!
:@