Mozilla’s JS debugger is a god-send for JavaScript development, but
everything still needs to work in IE and debugging in that environment
can be rough. When I started doing JavaScript, I would use alert(‘current var=’ + myVar);
all over the place to figure out what was happening in the code. Later,
I started embedding a TEXTAREA in and writing text to that box. But I
wanted a way to debug without messing up the exiting page and still
work with IE. The solution I’ve come up with is to launch a new window
and dynamically create a TEXTAREA in that window that I could write to
(just like Mozilla’s debugger)
Usage

Results
