1

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?

4

1 回答 1

5

只是renderFile()它会渲染任何文件,记得用<script>标签包装它。

于 2013-02-05T14:10:17.200 回答