Well, when you click (any)one of the "go" buttons, the jSubmitForm function populate the hidden fields of this form:
<form name="Content" method="Post"> <input type="hidden" name="LinkPage" value=""> <input type="hidden" name="PageType" value="Search"> <input type="hidden" name="ORG_PK" value="000"> <input type="hidden" name="STATE_CD" value=""> <input type="hidden" name="Name" value=""> <input type="hidden" name="SearchType" value=""> <input type="hidden" name="CrdNumber" value=""> <input type="hidden" name="SecNumber" value=""> <input type="hidden" name="NumRows" value=""> <input type="hidden" name="Save" value="IAPDSearch"> </form>
and submit it to the site.
All you have to do is to prepare a POST statement with the fields correctly populated and submit it directly.
I advise you to see the CGI module, with that you can do it with little more than 4 lines of perl.
Rule One: Do not act incautiously when confronting a little bald wrinkly smiling man.
In reply to Re^5: WIN32::IE::Mechanize - can't follow link - JavaScript involved
by psini
in thread WIN32::IE::Mechanize - can't follow link - JavaScript involved
by Ninth Prince
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |