Hi

I have override the confirm function like this :
function confirm(msg,callback_true,callback_false) {
if yes{
callback_true();
}
else{
callback_false();
}
}

In my application i use the function like this :
confirm('message',function(){ alert("ok")}, function (){ alert('not
ok')});

I must ask the question a lot of time without reload the page.
The problem is , when i recall the question, the answer is show 2
times, when i recall another question, the answer is call 3 times,
etc ...

I think the problem comes, from the way i use the callback, but how
can i do if my callbacks functions have parameters ?


Thx

Reply via email to