Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: Get Pre-Last Item in SP2010 List

for (var i = 0; i < ListID.length; i++) {
                            try {       
                            $().SPServices({
                                operation: "UpdateListItems",   
                                async: false,
                                listName: "{fb58992a-4027-411e-9859-56328b461868}",
                                ID: ListID[i],
                                valuepairs: [["_x041d__x0430__x043b__x0438__x04", nalp_calc[i]],["Title","Сводка отдела"]],
                                    completefunc: function (xData, Status) {
                                        __doPostBack("", "");
                                    }             
                            });         
                        } 
                        catch (e) {alert('Script:' + e);}
this code update SP List. Source for update - two array ListID (with ID) and nalp_calc with data. Its work for me, everybody thanx

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>