document.NomeDelForm.submit()

Mi sa che il tuo problema e' un altro...