- User clicks a button which initiates an ajax request to the server
- My controller handles the request, and renders a template as the response
- The template contains JavaScript
- The JavaScript does not execute when rendered to the client
Any ideas why JavaScript contained within a template is not executed when rendered via Ajax?
Thanks!
- Dean Del Ponte