I don\'t know much about WEB probramming, so feel free to ask if I\'m missing any details.
There is a certain website which I\'m visiting very frequently, and it require
document.getElementById('loginSubmit').submit();
or, use the same code as the onclick handler:
onclick
changeAction('submitInput','loginForm'); document.forms['loginForm'].submit();
(Though that onclick handler is kind of stupidly-written: document.forms['loginForm'] could be replaced with this.)
document.forms['loginForm']
this