>
> Ok, understand that, but is the response.js should allow me to insert this
> in my view :
>
> <script type="text/javascript"> $(".chzn-select").chosen(); </script>
>
response.js does not insert a script tag into the page. Instead, the
javascript function that makes the ajax call to load the component reads
the response.js code from a special response header and eval's the code.
>
> Is there a way to insert a script into a view from controller... It may be
> consider script injection I don't know...
>
If it's a web2py component, why not just include the above script element
in the component's view?
Anthony