Gecko DOM oddity

While writing some DOM parsing code for client-side form validation, I encountered an oddity with recent gecko based browsers. Rather than displaying a Javascript alert box, I’m creating textnodes and appending them to an existing DIV. The text contains statements detailing the errors with the form, and instructions to fix the errors. Intially I hid [...]