Login   Register  
PHP Classes
elePHPant
Icontem

Javascript document.write() problem

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Clean Output  >  All threads  >  Javascript document.write() problem  >  (Un) Subscribe thread alerts  
Subject:Javascript document.write() problem
Summary:Problems with tags written using JS document.write()
Messages:1
Author:Jon Gjengset
Date:2007-01-03 10:47:44
 

  1. Javascript document.write() problem   Reply  
Picture of Jon Gjengset
Jon Gjengset
2007-01-03 10:47:44
When you use JS document.write() in your code, and then run CleanOutput on it, CO will split tags you might have inside write() to new lines, and thus rendering your code damaged. This results in your page not being shown correctly.

I am currently out of ideas as to how to fix this problems, and any suggestions are very welcome.

Jon