When debugging a page, this simple script
allows you to test your javascript and the
current state of variables using the alert
(variableValue) command.
For one line commands, no semicolon is
required at the end. For multiple commands,
separate with a semicolon.
If your coding contains an error, you will
be alerted that instead of sending your page
into an error state.
If you want to get a section of text
realtime from the page, I recommend entering
something like document.all.codeBlock.value
= thatID.innerHTML;