[Rails] Unable to call JS scripts from a partial loaded via AJAX

2011-06-07 Thread elliottg
I am loading a partial via AJAX in my Rails 3 app. I want to have some partial related JS loaded when that partial loads so that I am only loading JS when needed. No matter what I do, I cannot get the JS script elements to render. I have used variations of the Rails javascript load helpers as

Re: [Rails] Unable to call JS scripts from a partial loaded via AJAX

2011-06-07 Thread Walter Davis
On Jun 7, 2011, at 10:05 PM, elliottg wrote: I am loading a partial via AJAX in my Rails 3 app. I want to have some partial related JS loaded when that partial loads so that I am only loading JS when needed. No matter what I do, I cannot get the JS script elements to render. I have used