
aiko timmer - 2007-11-22 09:58:51
Hi again,
Firefox is having an issue regarding the document.write line in the thesaurus.js file if the header "application/xhtml+xml" is sent.
Now I know document.write should not be used in combination with xml but I wonder if there's any way to make a change in the script to prevent this. I know to little about javascript to find the solution myself.
At this moment I'm cheating a bit on Firefox by sending the "txt/html" header to the pages using the thesaurus script but I would rather do it the correct way.
W3C validator doesn't seem to have any problems validating the page even if document.write is present though :-)
Thanks,
Aiko