开发者

How to add JavaScript in the content page that inherits from Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage

开发者 https://www.devze.com 2023-01-28 00:27 出处:网络
How to add JavaScript in the content page that inherits from Inherits=\"Microsoft.SharePoint.Publishing.PublishingLayoutPage\"?

How to add JavaScript in the content page that inherits from Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage"?

I also need to pass the client IDs of the dropd开发者_运维知识库ownlists present on the content in the JavaScript function.


There are several ways to accomplish that

  1. Master Page. Use the ResolveClientUrl so that your content pages will also be able to resolve the JavaScript location.
  2. Content Editor webpart Sample article
  3. SharePoint (MOSS) Pages: Embedding JavaScript
0

精彩评论

暂无评论...
验证码 换一张
取 消