Displaying 1 result from an estimated 1 matches for "updatemessagewindow".
2008 Sep 22
3
syntax error in RJS
I''m new to Ruby on Rails and came across a problem I could not solve
alone.
I''ve a pretty simple RJS file that looks like the following:
3.times do
page.insert_html :bottom, ''messages'', ''test''
end
page.call ''updateMessageWindow''
However this snippet gives a syntax error:
ActionView::TemplateError (compile error
D:/Eigene
Dateien/Programming/Web/AjaxChat/app/views/chat/update.js.rjs:1: syntax
error, unexpected tIDENTIFIER, expecting kEND
3.times do
page.insert_html :bottom, ''messages'', '&...