$("#subject_count_homework_<%=@homework.id %>").html(<%= @homework.quotes %>); var htmlvalue = "<%= escape_javascript(render :partial => 'homework_post_notice') %>"; pop_box_new(htmlvalue,380,182);