【问题标题】:How to find out jquery lib into a project?如何将 jquery lib 找出到项目中?
【发布时间】:2012-07-29 06:38:31
【问题描述】:

我正在开发一个 WEB_PART,我想知道是否有某种方法可以确定在要插入 Web 部件的母版页项目中是否存在任何 JQUERY LIB。

【问题讨论】:

    标签: jquery sharepoint jquery-plugins web-parts


    【解决方案1】:

    检查一下

    if (typeof window.jQuery === 'function') {
       // jQuery is defined
    }
    

    【讨论】:

      猜你喜欢
      • 2022-01-02
      • 1970-01-01
      • 1970-01-01
      • 2014-09-07
      • 1970-01-01
      • 2019-02-18
      • 2021-09-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多