var $cc = $("#ajax_div"); var html_str = "<%= j render_table_prop_busy_coef(atype_id: @atype_id) %>"; $cc.html(html_str);