On 3/22/06, Maninder, Singh <[EMAIL PROTECTED]> wrote: > I am not able to follow what you suggested. > > Could you take this example and explain?
There is nothing special with document.write. It can be redeclared like any normal property. Just try this in normal page: document.write("written"); // Gets written to screen document.write = function(text){ alert(text) } document.write("also written?"); // No, the text is shown in an alert. So just do a document.write = Prototype.emptyFunction; if you want to send calls to document.write to /dev/null Bye, Martin _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs