How to display the Javascript confirm message box after the item is added to list?

Oct 4, 2014 at 9:40 AM
Edited Oct 4, 2014 at 9:42 AM
I have a custom list and I have requirement like below:

If user adds value for item and presses Save button then one popup should be appear that asks for adding another item, if user presses Yes then same page should be opened. If user presses No then the user should be redirected to ViewAll pages only.

I searched over internet for the solution and found on JavaScript event i.e. PreSaveAction() but the limitation is that, it is executed prior to the list item is saved to the list.

Is there any event available from that I can come to know that the list item is stored to the list and after that I can handle my own?

Any help is highly appreciated.

Oct 4, 2014 at 5:06 PM
I don't think you're going to find exactly what you are looking for. You could clone SPRedirectWithID and customize it for your needs.