M
Martin
I have this simple little script that submits a page where some
server-side scripting deletes a record from a database. This works as
expected in IE but it appears that, in FF, the submit is not occurring
(I'm receiving nothing at the server). FWIW, the "confirm" dialog does
pop up and I can click OK/Cancel - but nothing happens after that.
What am I doing wrong?
function DoDelete(x)
{
var resp = confirm('Delete ' + x + '? - Are You Sure?');
if (resp)
{
document.all['deleteThis'].value=x;
document.forms.frmDisplay.submit();
}
}
server-side scripting deletes a record from a database. This works as
expected in IE but it appears that, in FF, the submit is not occurring
(I'm receiving nothing at the server). FWIW, the "confirm" dialog does
pop up and I can click OK/Cancel - but nothing happens after that.
What am I doing wrong?
function DoDelete(x)
{
var resp = confirm('Delete ' + x + '? - Are You Sure?');
if (resp)
{
document.all['deleteThis'].value=x;
document.forms.frmDisplay.submit();
}
}