Geeks With Blogs
Josh Tenenbaum Errant ramblings

I received an error that said, "Line 1: Syntax Error." I kept debugging the error, but I didn't think the document definition was causing the error. In the end, I found another developer on the project, had an onmouseover event getting set into a div on via the innerhtml property that included something like onmouseover='somefunction(someobject,'',someotherobject);'. It wasn't quite that simple, but essentially it was too long to find. Unfortunately, the debugging isn't what it should be and the developer didn't test his work.

Posted on Friday, October 5, 2007 3:08 PM | Back to top


Comments on this post: Stupid Javascript bug

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Josh Tenenbaum | Powered by: GeeksWithBlogs.net