读书人

视图页面揭示$.未写义

发布时间: 2013-06-19 10:26:40 作者: rapoo

视图页面提示$.未写义
视图页面揭示$.未写义

如上图.自己定义了个母版页,有加<script type="text/javascript" src="/sites/ryan/Header%20Menu/js/jquery-1.5.2.min.js"></script>

引用,开始list的display.aspx引用$.都没有问题.但是在开始视图页面如AllItem.aspx就提示这个错误,
查了了页面<%@ Page language="C#" MasterPageFile="~masterurl/default.master

用SPD打开default.master,添加了jquery.js引用,还是会报错.请问.是什么原因呢..
[解决办法]
你的JQuery 引入的路径貌似不太对经,最好放在sitecollection的根站点下
http://www.codeproject.com/Articles/250504/Using-jQuery-with-Sharepoint-2010

不行试试其他办法 :
http://www.codeproject.com/Articles/250504/Using-jQuery-with-Sharepoint-2010

http://blogs.msdn.com/b/yojoshi/archive/2010/06/17/using-jquery-with-sharepoint-2010.aspx

http://fitandfinish.ironworks.com/2010/01/the-best-way-to-add-custom-javascript-and-jquery-to-sharepoint.html

http://labs.steveottenad.com/adding-javascript-to-sharepoint-2010-master-page/

读书人网 >行业软件

热点推荐