bauer1sc has asked for the wisdom of the Perl Monks concerning the following question:
I've been working on this app that strips data from a web page. I have come to the point where everything is working but when trying to navigate to next page I am failing. The sites navigation is in Javascript and Im not sure how to handle javascript. Here is the code from the source on their page. let me know what you think.
The link to the page is at http://www.usgbc.org/LEED/Project/RegisteredProjectList.aspx?CMSPageID=243&CategoryID=19& Thanks in advance!<form name="frmRegisteredProjectList" method="post" action="Re +gisteredProjectList.aspx?CMSPageID=243&CategoryID=19&" id="fr +mRegisteredProjectList"> <input type="hidden" name="__EVENTTARGET" value="" /> <input type="hidden" name="__EVENTARGUMENT" value="" /> <input type="hidden" name="__VIEWSTATE" value="biglong garbage that wo +uld make post 5 pages long.=" /> <script language="javascript" type="text/javascript"> <!-- function __doPostBack(eventTarget, eventArgument) { var theform; if (window.navigator.appName.toLowerCase().indexOf("microsoft" +) > -1) { theform = document.frmRegisteredProjectList; } else { theform = document.forms["frmRegisteredProjectList"]; } theform.__EVENTTARGET.value = eventTarget.split("$").join(":") +; theform.__EVENTARGUMENT.value = eventArgument; theform.submit(); } // --> </script>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Help with javascript navigation
by Corion (Patriarch) on Jul 13, 2007 at 14:50 UTC | |
by bauer1sc (Initiate) on Jul 13, 2007 at 14:58 UTC | |
by bauer1sc (Initiate) on Jul 13, 2007 at 15:06 UTC | |
by daxim (Curate) on Jul 14, 2007 at 01:23 UTC | |
by bauer1sc (Initiate) on Jul 16, 2007 at 19:05 UTC | |
by almut (Canon) on Jul 16, 2007 at 20:14 UTC | |
|
Back to
Seekers of Perl Wisdom