Il metodo confirm() ritorna true o false a seconda che sia stato premuto OK o cancel rispettivamente.

Vedi anche
http://forum.html.it/forum/showthrea...05#post4450505
Ciao
Michele