I was wondering if there is any method (using JS or otherwise) to autosubmit a form with a field with name and id as \'submit\'. Essentially, my entire HTML code looks like
The submit function for that form is completely inaccessible (it has been overwritten). You can steal one from another form though.
document.createElement('form').submit.call(document.getElementById('myform'))
Doesn't work in old-IE. (I think support appears from IE7 onwards)