Ruby on Rails Tuesday, June 1, 2010

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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment