How do I inject javascript in my controller from a regular web request?
I read the docs it syas response.js is executed only in a component;
so I have a form and I would like to add JS validators.
so I try adding to the response.js = '$("myfield").validate("digits");'
Of course this only works in component mode as I tried it;
But now I have a single form page and I want this same javascript to work;
How do I do that?
Thanks.

