Most times whenever you see javascript being displayed from your rjs
template it's
more often than not because you're also using the :update option on
the AJAX call.
I haven't looked at what the in place editor creates but I'd be
willing to bet that it's using
:update by default so if you want to use rjs you'll have to create
your own action to do
the update.
Hope that helps,
-Michael http://javathehutt.blogspot.com