2 add a note about promises
source | link

If I understand you correct, you want to load all the items independently. I suppose you are asking about how to do it javascript, and Client Object Model. Is it correct?

If so you have two options:

  1. Define all the items you want to load, and then invoke context.executeQueryAsync. See my other answer in this forum.

  2. Load items, using promises or provide callback as an anonymous functions inside a loop. I answered a similar question where I tried to explain how to use callbacks in javascript and how to load multiple items in an async way.

Hope this helps to start to investigate.

If I understand you correct, you want to load all the items independently. I suppose you are asking about how to do it javascript, and Client Object Model. Is it correct?

If so you have two options:

  1. Define all the items you want to load, and then invoke context.executeQueryAsync. See my other answer in this forum.

  2. Load items, provide callback as an anonymous functions inside a loop. I answered a similar question where I tried to explain how to use callbacks in javascript and how to load multiple items in an async way.

Hope this helps to start to investigate.

If I understand you correct, you want to load all the items independently. I suppose you are asking about how to do it javascript, and Client Object Model. Is it correct?

If so you have two options:

  1. Define all the items you want to load, and then invoke context.executeQueryAsync. See my other answer in this forum.

  2. Load items using promises or provide callback as an anonymous functions inside a loop. I answered a similar question where I tried to explain how to use callbacks in javascript and how to load multiple items in an async way.

Hope this helps to start to investigate.

1
source | link

If I understand you correct, you want to load all the items independently. I suppose you are asking about how to do it javascript, and Client Object Model. Is it correct?

If so you have two options:

  1. Define all the items you want to load, and then invoke context.executeQueryAsync. See my other answer in this forum.

  2. Load items, provide callback as an anonymous functions inside a loop. I answered a similar question where I tried to explain how to use callbacks in javascript and how to load multiple items in an async way.

Hope this helps to start to investigate.