I have a scenario, where the user changes something in the page, then throw a popup with a confirm propmt. when the user clicks ok, I pass a dynamic value from the javascript to the
struts action, manipulate something in the database and fetch a value. I wanted to pass the fetched value to the javascript with a pop again and with a message for the popup asking the user to confirm.
When the user selects ok, I have to prompt him again with a message.
I am able to throw a pop when the user changes something and pass that to action by AJAX. Can anyone advise how do I proceed the remaining steps like pass the value back to javascript with a popup and so on.