You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- Thanks for your detailed response! I just tried moving addItem inside the calling function as you suggested, along with the success/failed functions. However, I am still getting the alert "Snapshot created successfully" but seeing the div continue to update. I'll keep playing with it, or try your other suggested method if I have time to rip it apart.mannaggia– mannaggia2016-05-07 19:28:08 +00:00Commented May 7, 2016 at 19:28
- PS... I will be at Ignite in Atlanta!mannaggia– mannaggia2016-05-07 19:34:39 +00:00Commented May 7, 2016 at 19:34
- ... hangover ... learn to trace to the F12 DEV console with console.log. console.info and all his friends. edit your question and show us your new code structureDanny '365CSI' Engelman– Danny '365CSI' Engelman2016-05-08 08:03:22 +00:00Commented May 8, 2016 at 8:03
- Yep, I use F12 all the time. Async calls make it a little difficult to trace. I ended up taking your "but then" suggestion, and used an array and recursive call, and it (appears) to work beautifully. I like that method more because (in addition to it working) I am not quite up to speed with the async calls and promises, and due to time constraints, I went down the road of guessing and trial-and-error, rather than understanding how all that works. I may come back to it later after I get more knowledgeable with promises. Appreciate it!mannaggia– mannaggia2016-05-09 00:30:04 +00:00Commented May 9, 2016 at 0:30
- If you accept the answer we all get a better credit rate, and your question goes on the "Answered" pileDanny '365CSI' Engelman– Danny '365CSI' Engelman2016-05-09 08:06:28 +00:00Commented May 9, 2016 at 8:06
Add a comment |
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. sharepoint-online), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
default