Puoi usare:
codice:
document.getElementById('form1').submit();