Sorry, that was a typo.
Even something as simple as response.js = 'alert("Here");' or response.js = '<script>alert("Here");</script>' doesn't seem to work, although it does if included in the view.
Sorry, that was a typo.
Even something as simple as response.js = 'alert("Here");' or response.js = '<script>alert("Here");</script>' doesn't seem to work, although it does if included in the view.