I a using a jQueryUI dialog box which renders very well html code search.html.haml ====- content_for :main_content do #content = form_tag query_plan_day_meals_path(:plan_id => @plan, :day_id => @day), :remote => true do #error_messages{:style => "display: none;"} .... form fields I am now trying to render a javascript block given by our partner search.html.haml ====- content_for :main_content do #content{:style => "width:300px;"} = render :partial => "myscript" _myscript.html.erb <script src="http://platform.fatsecret.com/js/? key=xxxxxxxxxxx&auto_load=true"></script> the dialog form is open correctly, but the script is not rendered in it .. ( #content div is empty) and no error message .. no request to this url... why I am wrong ? thanks for your feedback -- 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.