I am using a third party program to execute javascript that automatically submits data to a website. Part of the website uses iFrame and I need someone to write that Javascript that will submit data properly to the elements within the iframe. It should only be a couple of lines of code, I just don't know how to write the Javascript to account for the iframe.
Sample Code - This works for website without the iframe:
[login to view URL]('login-user-name-inputEl').value='username';
[login to view URL]('password-inputEl').value='password';
[login to view URL]('Login-btnEl').click();
New code needs to do the following:
Set the value of a dropdown list in an iframe
Execute a click command on a link in an iframe
I will provide a login to the website in question so you can test the code.