this doesn't seem to work, i mean the prompt appears but only after
dialog is closed;
also tryed using the beforeclose event but the prompt doesn't even
show.
Here's an example of using a confirm inside beforeclose
Demo: http://jsbin.com/urosa
Source: http://jsbin.com/urosa/edit
- Richard
On Thu, Dec 17, 2009 at 5:30 AM, Obi1 gurreiro_fa...@yahoo.com.br wrote:
this doesn't seem to work, i mean the prompt appears but only after
dialog is closed;
it doesn't work for me as i'm using jConfirm not javascript confirm
but it will have to do while i don't find a solution.
Thanks
The built in browser confirm is the only way you can block (with for the
user to respond) without blocking the UI. Any javascript confirm will have
to use a callback instead of a return false. In that case you can return
false to prevent the close, then use the result of the jConfirm callback to
OK, it's working fine. thank you for the indications.
5 matches
Mail list logo