RJS Problem..Now Whats incrorect here

I am trying to Update a field on my search result page through
in_place_edit and then render a partial to display the updated
contents.
I am receving the following instead of the real value which is "John
Wright"

try { Element.update("first_name", "\n \u003Cspan
class=\"in_place_editor_field\"
id=\"copy_first_name_10115_in_place_editor\"\u003EJohn
Wright\u003C/span\u003E\u003Cscript type=\"text/javascript\"\

If I remember correctly, the in place editor is expecting you to
return an html fragment it can stick in the DOM, whereas you're
sticking in some JS.
There may be some options for customizing that, but I can't remember
off the top of my head.

Fred

Frederick Cheung wrote: