Displaying 1 result from an estimated 1 matches for "ajaxchat".
2008 Sep 22
3
syntax error in RJS
...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'', ''test''
end
page.call ''updateMessageWindow''...