如何在Share Point中使用Jqgrid中的自动完成并返回检索到的Json数据

时间:2016-01-25 06:44:32

标签: jquery json ajax

我目前正在使用REST服务从share Point检索数据并使用xml中的过滤器

ex http:<<Server name>>/<list data. svc/<List>>?$search =<name>.

数据返回类型是&#34; json&#34;在ajax调用中返回相应的字段。我的xml如下所示。

<entry>
  <id></id>
  <title></title>
  <content>
    <m: properties>
      <name>
      </name>
      <number></number>
      <address></address>
   </m: properties>
  </content>
</entry>

使用URL过滤后,xml如下所示,过滤名称字段。

<entry>
  <id></id>
  <title></title>
  <content>
    <m: properties>
      <name>
      </name>
    </m: properties>
  </content>
</entry>

我的问题是如何仅过滤json数据中的名称并填充为自动完成

0 个答案:

没有答案
相关问题