Last post Jun 21, 2010 02:28 PM by JuKiM
Jun 21, 2010 10:21 AM|JuKiM|LINK
Hello, I have a problem with the command jConfirm ..
I have a button that makes the page postback and saves the changes made by the user ..
of the jConfirm callback function.
How can I make jConfirm to simulate the behavior of confirm, and pausing the postback untill the user has confirmed?
jConfirm('Can you confirm this?', 'Confirmation Dialog', function(r)
if(r == true)
If after doing this I reload the page (F5), the navigator asks to send again the information, and If I send.. Then the saving is executed twice..
Thank you very much!
Jun 21, 2010 02:28 PM|JuKiM|LINK
At the end, I've used a popup to ask to continue or cancel instead of confirm.. When the user choose save, I display the popup with the two buttons, and if the user choose to continue, then I save.
I don't know if that is the best way, but it fitsto my needing..