codice:
<form name="MyForm" action="bb.asp" method="post" onsubmit="xmlhttpPost('bb.asp', 
'MyForm', 'MyResult', 'Wait...'); document.getElementById('prova').style.display = 'none'; return false;">
<table>
<tr id="prova">
<td><input type="text" name="nome" value="" /></td>
<td><input type="text" name="cognome" value="" /></td>
<td><input id="action" type="hidden" name="action" value="" /></td>
<td><input type="submit" name="send_button" value="Send" onclick="return conferma()" /></td>
<td><input type="submit" name="send_button" value="Send" onclick="document.getElementById('action').value='edit';" /></td>
</tr>
</table>
</form>