Topic: link_to_remote to call a page with script

Hello all,
if

A.rhtml:
...
<script>...</script>
...

and I use link_to_remote to call page A,  there won't be any <script>...</script>.
it seems to be filted.

why and how to solve it ?

Thank you~!!

Re: link_to_remote to call a page with script

Are you trying to run javascript during the link_to_remote? How about using RJS?

Railscasts - Free Ruby on Rails Screencasts

Re: link_to_remote to call a page with script

hi, that is,
I want to use a In_Place_Edit in action 'show', and action 'show' is called by 'link_to_remote', so it doesn't work.
if call action 'show' directly, it works well.