Displaying 1 result from an estimated 1 matches for "daytaining".
2006 Dec 17
0
unterminated string literal
...y:
<%= content_tag("div" ,"Training",:id => "#{training.date.day}" ,
:onmouseover => update_daytraining(training)) %>
ApplicationHelper has a method like this:
def update_daytraining(training)
update_page do |page|
page.insert_html :bottom, ''daytaining'',
"<br>Test:#{training.date}</br>"
end
end
I get now following javascripterror :
Error: unterminated string literal
} catch (e) { alert(''RJS error:
Source Code is:
<div onmouseover="try { new Insertion.Bottom("daytaining", "
T...