![](/img/trans.png)
[英]Is it possible to call a page method using jquery in SharePoint 2007?
[英]jQuery with Sharepoint 2007
我想將jQuery庫與Sharepoint 2007應用程序一起使用。 我在這里閱讀了這篇文章:
http://weblogs.asp.net/jan/archive/2008/11/20/sharepoint-2007-and-jquery-1.aspx
其中討論了通過發布功能來授予對Web部件控件的訪問權限,該功能將添加包含script標記的委托控件以加載.js文件。 我很難理解:
一種。 我必須修改哪個清單文件以包括以下內容:
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Control
Id="AdditionalPageHead"
ControlSrc="~/_controltemplates/jQueryControl ascx />
</Elements>
b。 為了使駐留在c:\\ program files \\ common files \\ microsoft shared \\ web服務器擴展\\ 12 \\ template \\ controltemplates \\ myCompany \\ myApp中的所有控件都可以訪問該插件,需要執行哪些操作。
最終使用了來自Codeplex的Sharepoint SmartTools來向Sharepoint注冊jquery。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.