I'm saving the username and password data as entered by the user in an HTML page opened in UIWebView. Now, what i want to do is to put username and password back into their respective fields and submit the form and I want this functionality to work for almost any kind of website.
Currently, I'm able to put data back into their respective fields using JavaScript. My problem is how to identify the form filled with values when there are more than one form on a web page.
Also, during the development of my application I figured out that some web sites for security reasons dont let populate the password field. What JavaScript code should i use to implement this functionality ?