在mvc项目中写js的位置?查看页面 [英] Where to write js in mvc project? for view page
本文介绍了在mvc项目中写js的位置?查看页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在mvc项目中写js的位置?查看页面
解决方案
查看此内容: http://forums.asp.net/t/1905522.aspx?How+to+use+javascript+in+MVC+view+ [ ^ ]
如果您的脚本很大,就像插件类型一样,那么在视图页面的底部使用单独的脚本文件。
Where to write js in mvc project? for view page
解决方案
Check this out: http://forums.asp.net/t/1905522.aspx?How+to+use+javascript+in+MVC+view+[^]
Hi,
If your script is large, like plugin type then use separate scripting file other wise write script in bottom of view page.
这篇关于在mvc项目中写js的位置?查看页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文