確認フォームの再送信を避ける方法はありますか? The page that you're looking for used information that you entered. Returning to that page might cause any action that you took to be repeated.Do you want to continue?
javascriptまたはjquery関数を使用して、フォームの再送信を確認しないようにする例はありますか?
function getComboB(sel) {
var invoices=document.getElementById("invoices");
var input_val = document.getElementById("invoices").value;
invoices.action = "searchinvoices.php?invoices="+input_val+"";
invoices.submit();
}
<table width="371" border="2">
<form name="invoices" id="invoices">
<tr>
<td width="160"><font class="font2"> Search By Invoice's Number:</font></td>
<td width="198"><input type="text" class="input_field" style="background:#FFF !important;" name="invoices" id="invoices" onchange="getComboB();" ></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
</form>
</table>