Hi
Im working in app with delete button.
First, this button open a new confirmation popup.
If user accept the delete data, this open a new information popup if the delete was correct.
Then, when user Tap the information popup, I need to close all popup and go again to menu.
All this actions with JS.
open popup: $.mobile.changePage($('div[dsid="BorratCorrectament"]'), {transition: "pop"});
close popup: $('div[dsid="ModificarVenda"]').dialog('close');
The problem is:
If I put the code like this: This open information popup , close it automaticaly and return to the confirmation popup.
If I only put open popup: This open the popup. When i Tap the information popup this close it and return to confirmation popup.
If i put in the events of the information to close the information and confirmation, only close information and return to confirmation.
How can I create a sequenceof events to open the information popup and then close all to return to menu?
Thanks