Displaying 1 result from an estimated 1 matches for "update_daytraining".
2006 Dec 17
0
unterminated string literal
...like this:
<div id="training" >
<div id="daytraining" >Training
</div>
</div>
Some other elements should insert content here by:
<%= 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: untermi...