I need to submit a form uploaded to UIWebview(iPhone sdk / Objective c) using Javascript injection. I used document.form.submit()that does not work.
UIWebview
document.form.submit()
To access your form, you need to pull it from the array of forms. Use the form name attribute as an array key.
key
It should look like this:
document.forms['formName'].submit();