| Hi again,
You are right. But just to go a little further, you will find a lot of the
so-called __doPostBack function in javascript links, which is in fact a aspx
generated function
AN example :
<http://www.ewineasia.com/showitems.aspx?type=w&catid=Red>
Where the "next" button is linked to this "aspx" / javascript function.
It is in fact a normalized function, and as such could be retrieved by
httrack.
In the page you will always have three elements : the form, the js function
and the a caller:
<form name="myForm" method="post" action="test.aspx" id="myForm">
4 <input type="hidden" name="__EVENTTARGET" value="" />
5 <input type="hidden" name="__EVENTARGUMENT" value="" />
6 <input type="hidden" name="__VIEWSTATE"
7 value="dDwtMTAwOTA0ODU1NTs7PsllCK1DzvZsK0J6OQ2dxKqmEwVs" />
8
9 <script language="javascript">
10 <!--
11 function __doPostBack(eventTarget, eventArgument) {
12 var theform = document.myForm;
13 theform.__EVENTTARGET.value = eventTarget;
14 theform.__EVENTARGUMENT.value = eventArgument;
15 theform.submit();
16 }
17 // -->
18 </script>
19
20 <a id="Test" href="javascript:__doPostBack('Test','')">Create Text
file</a>
That's all, the "only" thing to do is to send the form with its parameters.
This is one interesting evolution for httrack.
Best,
Emmanuel Cartier | |