Unterminated string literal

Hello,

I am not able to solve this problem on my own.

I have a nested Div tag like this:

Training

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’,

Test:#{training.date}”
end
end

I get now following javascripterror :
Error: unterminated string literal
} catch (e) { alert('RJS error:

Source Code is:

Training</div

What is going wrong here???
Has anyone solved anything like this???

Holger