Thursday, March 18, 2010

[Rails] Re: RJS error: TypeError: element is null

> I believe this is expecting to find a div with id chat_area to
> replace. I do not see this div in the code below, though I may be
> just not be seeing it.
>
> Colin
Following div is present on my index.rhtml

<div id="chat_area">
<%= render :partial=>'chat_area' %>
</div>


I don't know what is the problem with this div or partial's content
while using same technique i am updating my other div's

Regards,

Salil Gaikwad
--
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