Wrap a Rails Ajax response in textarea?
I am using the jQuery form plugin to submit an attachment via Ajax. From the documentation, it sounds like I need to wrap the response in a textarea -- but I have no idea how to mix render :update or render with an RJS template with the textarea.... Help!
Also, I assume I do not need to name a target, since the response is going back to the iframe where it will run in a global context...