Haha, I think I made that more complicated than it had to be..

$('contentblock').appendChild(el);

Ian Tyndall wrote:
> I was thinking that this should work:
>
>         var el = Builder.node('div',{id:'one'},[
>            Builder.node('h3',{id:'two'},'another header',[
>               Builder.node('div',{id:'content'},'more content')
>                    ]),
>         ]);
>         new Insertion.Bottom('contentblock', el);
>
>
> However, it produces the following error in Firebug:
>
> content.stripScripts is not a function - prototype.js (line 1340)
>
> Any experience/advice will be greatly appreciated!
>
> Thanks,
> Ian
>
>
> >
>
>   


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

Reply via email to