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