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

My Interview Experience

React Checkbox Control SPFx