this is form named "f1"
f1.submit()
alert(f1.t1.value)
this is form named "f2"
document.f2.submit()
alert(document.f2.t1.value)
this is form named "f3"
document.forms['f3'].submit()
alert(document.forms['f3'].elements['t1'].value)
this is form named "f4"
document.forms[3].submit()
alert(document.forms[3].elements[0].value)
alert(document.forms[3].elements[1].checked)
this is form named "f5"
document.getElementById('f5').submit()
alert(document.getElementById('t1').value)