I am attempting to update multiple elements by rendering partial templates from only one AJAX request. I found a helpful exchange in the archives http://article.gmane.org/gmane.comp.lang.ruby.rails/14215, but when I do exacty as suggested (putting javascript_tag helpers around the update_element_function since my partials have javascript and AJAX calls in them as well), I get lots of ''\n'' all over the rendered sections and none of the javascript included in the partial works. What am I doing wrong? Mike