返回首页

您好,
我使用jQuery的需要为第一time.I保存到list.Below项目的代码,任何一个能帮助寻找什么是错的代码。

<script type="text/javascript" >

 

     $(document).ready(function()

    {

      $("#ctl00$m$g_0ce04f85_be39_48aa_a92e_d0f45efbf84f").click(function()

         {

           $().SPservices

 

           ({

 

                  operation:"UpdateListitems",

 

                  ListName:"Question",async=false,

 

                  batchCmd:"New",

 

                  "<field name="YouSelection">"+ "1" +"</field>"

 

                      completefunc:function(xData,Status)

 

                      {

 

                      alert(xData.responseXML.xml);

 

                      }

           });

 

      });

 

 });

谢谢,
穆罕默德SIDDIQALI。

回答

评论会员:游客 时间:2012/02/06
我告诉你之前,jQuery有没有做与SharePoint。你应该使用在SharePoint2010中的Web服务客户端对象模型
穆罕默德siddiqali
评论会员:游客 时间:2012/02/06
你好马克, there.Can你能告诉我如何插入items.Hope你答复