I am using MVC to render a View. The view has a single DIV element and a SCRIPT element. The SCRIPT element has a simple alert('hello world').
When the view is rendered I expected to see the alert popup. Unfortunately this is NOT the case.
What can be done to invoke a script function after a View is rendered?