Hi,
I saw somewhere on the Web that XHTML DTD is poblematic for JavaScript because of the uses of braces in JavaScript "programs". I found that comment as I searched for a solution to my original problem. to wit:
I've got an HTML file displayed at [pastie.org...]
The Firefox 3.6.12 displays only:
=========== Start ===========
10_ShowClassesAndTypes
Starting 10_ShowClassesAndTypestesting dw
=========== End ============
The "dw" function writes nothing. Suggestion on how to get "shorthand document.write" function working would be greatly appreciated. In the meantime I'm going to see if I can get Protype to provide a shorthand function.
It's been suggested that document.write() is not a dynamic method. Called within a function it will simply rewrite the document (as it would be a new session).
Any ideas?
Best wishes,
Richard