You could try document.documentElement.innerHTML. This will return
<head>....</head><body>...</body>. I know that some properties of
document.documentElement in IE6 only work in standards mode, so that
*may* be a problem, but I don't have IE to test here.

Best,
-Nicolas

On Dec 30, 2007 3:53 PM, matte <[EMAIL PROTECTED]> wrote:
>
> Hi everyone!
>
> Is there a way to get whole html source as a string variable in
> prototype? I couldn't find a way to do this. Please help.
>
> Thanks.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to