Hi!
Let me explain my issue:
I have a button that triggers a modal. The modal content is loaded via ajax and it includes an extension (http://www.yiiframework.com/extension/dzraty/ to be exact).
However, this extension generates - in a normal page called by
render()
instead
renderPartial()
- some javascript calls that are echoed right befode </body> inside a <script> tag.
The problem is the fact that those calls are not been echoed in the
renderPartial()
. How can I get the script generated by the extension?
I tried
Yii::app()->clientScript->render()
with no sucess…
Thanks in advance!