[Rails] q: notify via replace_html
hi,
im trying to integrate a "ajax-chat" into my app. within the page where
the user post a chatmessage runs a periodically_call_remote to update
the message.
now, before this happens, the user needs to create a "room" first. now
my idea was that the controller could just do a replace_html, which
would b a div in the application-layout. but this doesnt work. if im
looged in from a different browser, i dont see that update.
clearly, im doing something "different here".
how would u do that, or any advise?
thx
--
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.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home