Hi All,
On my form is a button - clear. When the user clicks the button, javascript is called inititating history.go(0) command. While the screen is re-inititalizing, I get this Dialog box stating: "The page cannot be refreshed without resending the information. Click Retry to send the information again, or click Cancel to return to the page that you were trying to view." How do I suppress this box and reload my page? Or if there is a better way of doing this, that would be great.
TIA,
Tim
On my form is a button - clear. When the user clicks the button, javascript is called inititating history.go(0) command. While the screen is re-inititalizing, I get this Dialog box stating: "The page cannot be refreshed without resending the information. Click Retry to send the information again, or click Cancel to return to the page that you were trying to view." How do I suppress this box and reload my page? Or if there is a better way of doing this, that would be great.
Code:
function myClearAll(frmName) {
//alert("IN myclearAll...");
history.go(0);
document.forms[frmName].rptSelection[0].checked = true;
document.forms[frmName].dateFrom.value = "";
document.forms[frmName].dateTo.value = "";
document.forms[frmName].releaseDate.checked = false;
document.forms[frmName].dateFrom2.value = "";
document.forms[frmName].dateTo2.value = "";
document.forms[frmName].effectiveDate.checked = false;
document.forms[frmName].fromAmt.value = "";
document.forms[frmName].toAmt.value = "";
document.forms[frmName].amountRange.checked = false;
document.forms[frmName].recNbrAcct.value = "";
document.forms[frmName].recAcctNumber.checked = false;
document.forms[frmName].boxName.value = "";
document.forms[frmName].individualID.checked = false;
}
TIA,
Tim