I want to include JavaScript file in my view.
And I want to render it together and not as script file (registerScriptFile).
How can I do that?
I want to include JavaScript file in my view.
And I want to render it together and not as script file (registerScriptFile).
How can I do that?
Just renderFile()
it would render any file, remember to wrap it with <script>
tag.