Hi, Please verify that all included javascript files get successfully loaded into your html page.
-- Volker Santosh Dvn schrieb: > Hi > > I have created the application by following the railcast video > > http://railscasts.com/episodes/74-complex-forms-part-2 > > However I am getting this error when I click "add element" > > RJS error: > > TypeError: Element.insert is not a function > > and then > > Element.insert("docs", { bottom: "<div class=\"doc\">\n\n > Doc: <input .....etc > > I have added the <%= javascript_include_tag :defaults %> in layout > files also > > here is my rjs line > <%= render :partial => 'task', :collection => @project.tasks %> > > please help me in this regards. > -- > Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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-talk?hl=en.

