Rauan Maemirov wrote:
>> Your body element is not extended.
>>
>> try $(getDoc.body) instead of getDoc.body
>>
>> - Ken Snyder
>>     
>
> I've already tried it. but it returns the same result.
> Element.extend(getDoc[.body]) also didn't help.
>   
As Gareth said, you'll have to include prototype in the iframe or popup 
window.  If getting the body is tricky (e.g. with quirksmode and stuff) 
try using $$():
$$('body')[0]

- Ken Snyder

--~--~---------~--~----~------------~-------~--~----~
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