Prasad Bolla's SharePoint Blog

Click Here to go through the Interesting posts within my Blog.

Click Here to go through the new posts in my blog.

Thursday, January 31, 2013

Updating a Single Record using JQuery and SharePoint Default WebServices

Please go to this post to understand what  JS files you need to download to achieve the required functionality.
 
var strSiteUrl = "http://SPSERVER:100";
var objList = new SPAPI_Lists(strSiteUrl);

var oWs = objList.quickUpdateListItem('JWS Practice', [{Title:("Single Update"),Country:("1"),Gender:("Male"),ID:("4")}]);
    if(oWs.status==200)
    {
        alert('Item Updated Successfully');

    }
 

No comments:

Post a Comment