Is it possible to dump JavaScript errors to a div in HTML?

Posted by RobertWHurst on Stack Overflow See other posts from Stack Overflow or by RobertWHurst
Published on 2010-04-26T21:33:00Z Indexed on 2010/04/26 21:53 UTC
Read the original article Hit count: 131

Filed under:
|
|

I'm writing a game and I've got a console for developers to interact with JavaScript methods in the game. I have a problem though; I can't figure out how to drop JavaScript errors to the console. Is there anyway to write errors to a div or HTML element?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about error-handling