Hi,

I am facing a problem and the description is as follows -

I have a page 1.html that does an Ajax.Updator & calls stuff from 2.html (that 
has some html snippet & some javascript).

So far so good - things work fine.

However, if 2.html had any document.write code - eg document.write('hello') 
then once the response is received it will be rendered till the point 
document.write is encountered and after that it will write to a new document 
instead of writing to the same one. I know this is how document.write is 
supposed to work.

But, does anyone know about a workaround such that I don't have to change my 
document.writes in the legacy code and still get this to work with Ajax?

Let me know.

Thanks,
Mandy.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to