Getting Values from List using SP services
$().SPServices({
operation:
"GetListItems",
async:
false,
listName:
"User Account Requests",
CAMLRowLimit:
"<RowLimit>1</RowLimit>",
CAMLQuery:
'<Query><OrderBy><FieldRef
Name="ID" Ascending="False"
/></OrderBy></Query>',
completefunc: function (xData, Status) {
//alert(Status);
//alert(xData.responseText);
$(xData.responseXML).SPFilterNode("z:row").each(function () {
//
debugger;
reqID = $(this).attr("ows_ID"); //alert(getlistitemID);
});
}
});
Comments