noviceuser Posted December 28, 2007 Share Posted December 28, 2007 Hi, I am attempting to automate the log in to a site, that involves clicking on a submit button. However the button has no name and I am at a bit of a loss how to emulate the click. Here is an extract of the relevant form: <form action="/M/home.mc" method="post" id="ism_home_login" target="_top"> <div> <label for="user_name">Username: </label> <input type="text" class="text" id="user_name" name="user_name" /> </div> <div> <label for="password">Password: </label> <input type="password" class="text" id="password" name="password" /> </div> <input type="hidden" name="FPL|login_cb" /> <input type="hidden" name="NextPage" value="/M/myteam.mc" /> <input type="image" value="Go" class="ism_submit" onclick="this.style.visibility='hidden'" src="/images/fpl/2007/go.gif" /> </div> </div> </form> Thanks for any help. Link to comment Share on other sites More sharing options...
noviceuser Posted December 28, 2007 Author Share Posted December 28, 2007 Problem solved - I used _IEAction to submit the form and it seems to work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now