I Just wrote a page that does basic file management. For the Delete part I
used
function confirmSubmit()
{
var agree=confirm("Deleted Files Cannot Be Recovered. Are You Sure?");
if (agree)
return true ;
else
return false ;
}
In my and
In my form. I think that should do what you want.
I'm not sure if this solution is not what you want to do or not... but
what I've done is to essentially send information identifying the info
to be deleted to another page (which you could pop up using jscript or
target="_blank"), which has yes or no buttons. If you click the yes
button, it does
2 matches
Mail list logo