Form_remote_tag and rendering partials with <script> tags

Has anyone successfully used a form remote file upload either by using
the respond_to_parent plugin or kylemaxwell’s form_remote_tag plugin to
render a partial or code with tags in it.

This would be very useful for RoR’ers to create new ajaxy elements.

If you can, can you post a sample code if you got it working.