mardi 23 décembre 2014

Gwt and Alert All z:row Elements



I ma using SPServices to get the list items I want returned to me from a specific list. I know how to find a particular element using this the GetListItems function without a problem. Is there a way to loop through all of the z:row elements and store all of the returned ows_Values in an array?



$(xData.responseXML).SPFilterNode("z"row").each(function(){
//I know this is how to get it by calling it directly

var xitem = $(this);
var title = xitem.attr("ows_Title");

//Is there a way to get them all at once?

});


Any help would be much appreciated! Thanks!








0 commentaires:

Enregistrer un commentaire