Hi there. I have very specific problem with Prototype. I'm getting selection of document and make a range from it. It's simple. But I'm receiving not extended elements from <range.startContainer>. Ok. That's fine. I would like to add prototype's functions to this element.
var container = range.startContainer; container = Element.extend(container); // NOT WORKS! // container still not have Prototype function, like childElements ;-( How to extend DOM element with Prototype properly? P.S. In any case, I can live without this feature, but, as for me, it's better to use Prototype anywhere ;-) but not browser specific features ;-) --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---