jQuery('#search-content').replaceWith('<%= escape_javascript(render "search_content") %>');