Create a JsonObject from a Collection in Jqerry


                     forEach(SPlistItem Item in litsItemCollection){

                       var    resourceInfoJson = {};
                        var    UserAllccationarry=[];
                     
                        resourceInfoJson["Employee"] = Item.ResName;
                        resourceInfoJson["ID"] = Item.lstItemID;

                        UserAllccationarry.push(resourceInfoJson);

                     }

Comments

Popular posts from this blog

SP People Picker Validation

Create multiple web parts in one SPFx Solution

JQgrid Auto Complete functionality for a textbox using Jquerry