JavaScript form submit WITH a field called submit

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)