Fernando Brito
2010-Feb-25 02:14 UTC
<script type="text/javascript> inside partial not being rendered
Hello I use a "link_to_remote" inside my view to call an action and update a div. In the action, inside my controller, I use a "render :partial => ''partial_name''" to fill the div with content. Inside that partial there is a lot of text and ruby things (which works) and a <script type="text/javascript> block, that is simply not being rendered. Everything before and after that block is rendering just fine, but the script tag and everything inside is not showing up in my view! Am I doing something wrong? Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Fernando Brito
2010-Feb-25 02:48 UTC
Re: <script type="text/javascript> inside partial not being rendered
Nevermind. It was being rendered normally :P -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.